Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.LargerNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 188.2 kB / 7.842 MB, free: 2.473 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.4 MB / 229.7 MB, free: 3.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 85.47 kB / 280.5 MB, free: 1.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04832/0.04832, allocations: 8.1 MB / 339.4 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.632e-06, allocations: 4 kB / 397.9 MB, free: 68.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 52.51 MB / 450.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/0.4853, allocations: 82.73 MB / 0.5206 GB, free: 11.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003696/0.4857, allocations: 61.53 kB / 0.5207 GB, free: 11.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2158/0.7016, allocations: 82.18 MB / 0.601 GB, free: 15.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001507/0.7018, allocations: 55.94 kB / 0.601 GB, free: 15.81 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 598 * Number of variables: 598 Notification: Performance of Generate backend data structure: time 0.02141/0.7232, allocations: 4.921 MB / 0.6058 GB, free: 10.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.7233, allocations: 11.97 kB / 0.6058 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.7256, allocations: 372 kB / 0.6062 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003813/0.7295, allocations: 1.473 MB / 0.6076 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004908/0.73, allocations: 0.6394 MB / 0.6082 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005994/0.7306, allocations: 135.9 kB / 0.6084 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006946/0.7375, allocations: 3.422 MB / 0.6117 GB, free: 4.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006837/0.7444, allocations: 3.384 MB / 0.615 GB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/0.7445, allocations: 0 / 0.615 GB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003692/0.7449, allocations: 16 kB / 0.615 GB, free: 1.133 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.046e-05/0.7449, allocations: 56 kB / 0.6151 GB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.7766, allocations: 14.75 MB / 0.6295 GB, free: 1.309 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007974/0.7846, allocations: 4.113 MB / 0.6335 GB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005892/0.7906, allocations: 2.61 MB / 0.6361 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.7917, allocations: 176.4 kB / 0.6362 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007894/0.7997, allocations: 2.744 MB / 0.6389 GB, free: 7.609 MB / 458.7 MB Notification: Performance of pre-optimization done (n=452): time 1.127e-05/0.7997, allocations: 0 / 0.6389 GB, free: 7.609 MB / 458.7 MB Notification: Performance of matching and sorting (n=452): time 0.02298/0.8227, allocations: 7.187 MB / 0.6459 GB, free: 408 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.8229, allocations: 188 kB / 0.6461 GB, free: 188 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2202/1.043, allocations: 1.055 MB / 0.6471 GB, free: 153.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001253/1.044, allocations: 42.97 kB / 0.6472 GB, free: 153.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000466/1.045, allocations: 0.5706 MB / 0.6477 GB, free: 153 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001724/1.047, allocations: 1.386 MB / 0.6491 GB, free: 152.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/1.047, allocations: 0 / 0.6491 GB, free: 152.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002008/1.047, allocations: 448.2 kB / 0.6495 GB, free: 152 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00316/1.05, allocations: 2.006 MB / 0.6515 GB, free: 152 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/1.054, allocations: 2.239 MB / 0.6537 GB, free: 151.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006492/1.06, allocations: 2.349 MB / 0.656 GB, free: 151.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.711e-05/1.06, allocations: 0 / 0.656 GB, free: 151.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01705/1.077, allocations: 7.231 MB / 0.663 GB, free: 151.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/1.077, allocations: 12.45 kB / 0.663 GB, free: 151.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.077, allocations: 0 / 0.663 GB, free: 151.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02978/1.107, allocations: 9.274 MB / 0.6721 GB, free: 151.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/1.109, allocations: 389.1 kB / 0.6725 GB, free: 151.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/1.126, allocations: 7.923 MB / 0.6802 GB, free: 150.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/1.13, allocations: 264.4 kB / 0.6804 GB, free: 150.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006358/1.131, allocations: 128.5 kB / 0.6806 GB, free: 150.6 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: b56131.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b11465.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real b11465.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b61232.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b11458.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b61256.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real b61274.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b11407.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real b61280.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real b61280.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real b11407.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b11403.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61254.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61273.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61274.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61275.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61260.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b11465.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61121.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b87694.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61232.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b11458.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61106.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b56131.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b87656.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61227.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61089.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b11480.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61256.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real b61280.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.b61280.degradedMode,b61280.degradedMode,$PRE.b11458.degradedMode,b11458.degradedMode,$PRE.b61256.degradedMode,b61256.degradedMode,$PRE.b11480.degradedMode,b11480.degradedMode,$PRE.b61232.degradedMode,b61232.degradedMode,$PRE.b61121.degradedMode,b61121.degradedMode,$PRE.b87694.degradedMode,b87694.degradedMode,$PRE.b11465.degradedMode,b11465.degradedMode,$PRE.b61260.degradedMode,b61260.degradedMode,$PRE.b61254.degradedMode,b61254.degradedMode,$PRE.b11407.degradedMode,b11407.degradedMode,$PRE.b11403.degradedMode,b11403.degradedMode,$PRE.b61227.degradedMode,b61227.degradedMode,$PRE.b61089.degradedMode,b61089.degradedMode,$PRE.b61274.degradedMode,b61274.degradedMode,$PRE.b61273.degradedMode,b61273.degradedMode,$PRE.b61275.degradedMode,b61275.degradedMode,$PRE.b56131.degradedMode,b56131.degradedMode,$PRE.b87656.degradedMode,b87656.degradedMode,$PRE.b61106.degradedMode,b61106.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {79 137} Notification: Performance of prepare postOptimizeDAE: time 0.001023/1.132, allocations: 222.1 kB / 0.6808 GB, free: 150.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.133, allocations: 317.9 kB / 0.6811 GB, free: 150.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/1.148, allocations: 7.65 MB / 0.6886 GB, free: 150.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-05/1.149, allocations: 52.12 kB / 0.6886 GB, free: 150.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.149, allocations: 7.094 kB / 0.6886 GB, free: 150.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-05/1.149, allocations: 24.94 kB / 0.6886 GB, free: 150.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/1.154, allocations: 4.457 MB / 0.693 GB, free: 149.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/1.154, allocations: 3.906 kB / 0.693 GB, free: 149.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/1.155, allocations: 415 kB / 0.6934 GB, free: 149.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0295/1.185, allocations: 9.353 MB / 0.7025 GB, free: 148.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001209/1.186, allocations: 37.73 kB / 0.7026 GB, free: 148.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01565/1.202, allocations: 8.085 MB / 0.7105 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/1.202, allocations: 4 kB / 0.7105 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01315/1.215, allocations: 7.14 MB / 0.7174 GB, free: 133.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/1.217, allocations: 0.9704 MB / 0.7184 GB, free: 133.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007269/1.218, allocations: 8 kB / 0.7184 GB, free: 133.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/1.221, allocations: 256.6 kB / 0.7186 GB, free: 132.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006729/1.222, allocations: 295.3 kB / 0.7189 GB, free: 132.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003829/1.222, allocations: 161.8 kB / 0.7191 GB, free: 132.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001/1.223, allocations: 0.7771 MB / 0.7198 GB, free: 131.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002055/1.225, allocations: 0.8212 MB / 0.7206 GB, free: 131.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,b61280.degradedMode,b11458.degradedMode,b61256.degradedMode,b11480.degradedMode,b61232.degradedMode,b61121.degradedMode,b87694.degradedMode,b11465.degradedMode,b61260.degradedMode,b61254.degradedMode,b11407.degradedMode,b11403.degradedMode,b61227.degradedMode,b61089.degradedMode,b61274.degradedMode,b61273.degradedMode,b61275.degradedMode,b56131.degradedMode,b87656.degradedMode,b61106.degradedMode) * Number of discrete states: 20 (b61280.degradedMode,b11458.degradedMode,b61256.degradedMode,b11480.degradedMode,b61232.degradedMode,b61121.degradedMode,b87694.degradedMode,b11465.degradedMode,b61260.degradedMode,b61254.degradedMode,b11407.degradedMode,b11403.degradedMode,b61227.degradedMode,b61089.degradedMode,b61274.degradedMode,b61273.degradedMode,b61275.degradedMode,b56131.degradedMode,b87656.degradedMode,b61106.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 268 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {78 158} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005501/1.226, allocations: 191.6 kB / 0.7208 GB, free: 131 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0143/1.24, allocations: 6.213 MB / 0.7269 GB, free: 125.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.24, allocations: 15.44 kB / 0.7269 GB, free: 125.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01266/1.253, allocations: 3.962 MB / 0.7308 GB, free: 121.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.255, allocations: 204 kB / 0.731 GB, free: 121.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009832/1.265, allocations: 4.41 MB / 0.7353 GB, free: 117.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/1.266, allocations: 2.036 MB / 0.7372 GB, free: 115.6 MB / 458.7 MB Notification: Performance of SimCode: time 7.41e-07/1.266, allocations: 0 / 0.7372 GB, free: 115.6 MB / 458.7 MB Notification: Performance of Templates: time 0.08626/1.353, allocations: 62.92 MB / 0.7987 GB, free: 64.95 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.LargerNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.LargerNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe 2>&1)