Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json 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/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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 107 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001913, allocations: 193.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1743/0.1743, allocations: 38.03 MB / 329.4 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 66.22 kB / 398.3 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1136, allocations: 58.06 MB / 456.3 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008448/0.1221, allocations: 7.618 MB / 464 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00624/0.1284, allocations: 4.416 MB / 468.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007371/0.1291, allocations: 15.94 kB / 468.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.1319, allocations: 0.9772 MB / 469.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.1349, allocations: 1.137 MB / 470.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009964/0.1359, allocations: 295.3 kB / 470.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.1378, allocations: 1.399 MB / 472.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.139, allocations: 0.7431 MB / 472.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.1404, allocations: 0.6186 MB / 473.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.1417, allocations: 0.736 MB / 474.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.1419, allocations: 67.94 kB / 474.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.1442, allocations: 1.333 MB / 475.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006272/0.1448, allocations: 478.9 kB / 476.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006799/0.1455, allocations: 441.9 kB / 476.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.1478, allocations: 1.554 MB / 478.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1478, allocations: 0 / 478.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1478, allocations: 4 kB / 478.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.808e-05/0.1479, allocations: 0 / 478.1 MB, free: 2.555 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001882/0.1497, allocations: 1.12 MB / 479.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1498, allocations: 11.89 kB / 479.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/0.153, allocations: 391.4 kB / 479.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006433/0.1536, allocations: 470.7 kB / 480.1 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.1537, allocations: 58.34 kB / 480.2 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.1538, allocations: 76.36 kB / 480.2 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.1555, allocations: 1.18 MB / 481.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.1555, allocations: 3.906 kB / 481.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.506e-05/0.1556, allocations: 32 kB / 481.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.782e-05/0.1557, allocations: 69.95 kB / 481.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.1575, allocations: 1.241 MB / 482.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/0.1624, allocations: 3.515 MB / 486.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.1639, allocations: 1.068 MB / 487.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008509/0.1648, allocations: 0.6528 MB / 488 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.245e-05/0.1649, allocations: 12.98 kB / 488 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1649, allocations: 43.56 kB / 488.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.605e-06/0.1649, allocations: 0 / 488.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006278/0.1712, allocations: 3.099 MB / 491.2 MB, free: 5.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.1713, allocations: 86.11 kB / 491.2 MB, free: 5.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/0.1717, allocations: 365.5 kB / 491.6 MB, free: 4.793 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.1717, allocations: 41.7 kB / 491.6 MB, free: 4.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.1719, allocations: 312.2 kB / 491.9 MB, free: 4.434 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.1722, allocations: 311.4 kB / 492.3 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.1725, allocations: 162.5 kB / 492.4 MB, free: 3.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1726, allocations: 370.8 kB / 492.8 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.1733, allocations: 465.7 kB / 493.2 MB, free: 3.133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.174, allocations: 0.5734 MB / 493.8 MB, free: 2.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.1756, allocations: 1.113 MB / 494.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1756, allocations: 0 / 494.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002717/0.1784, allocations: 1.473 MB / 496.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.1784, allocations: 8 kB / 496.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1784, allocations: 0 / 496.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.1794, allocations: 344.8 kB / 496.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.1801, allocations: 179.6 kB / 496.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005506/0.1857, allocations: 4.186 MB / 0.4894 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.1862, allocations: 43.95 kB / 0.4894 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.1864, allocations: 43.98 kB / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004088/0.1868, allocations: 298.4 kB / 0.4897 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.1869, allocations: 55.34 kB / 0.4898 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.1895, allocations: 1.567 MB / 0.4913 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.1895, allocations: 12 kB / 0.4913 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1895, allocations: 4 kB / 0.4913 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.1896, allocations: 3.984 kB / 0.4913 GB, free: 8.996 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005149/0.1947, allocations: 3.036 MB / 0.4943 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.1947, allocations: 4 kB / 0.4943 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/0.1954, allocations: 167.7 kB / 0.4944 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008014/0.1962, allocations: 296.9 kB / 0.4947 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/0.1963, allocations: 23.98 kB / 0.4948 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005374/0.2017, allocations: 3.901 MB / 0.4986 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.2017, allocations: 4 kB / 0.4986 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2113/0.413, allocations: 1.591 MB / 0.5001 GB, free: 55.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.4133, allocations: 147.9 kB / 0.5003 GB, free: 55.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.4135, allocations: 21.73 kB / 0.5003 GB, free: 55.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.4139, allocations: 39.78 kB / 0.5003 GB, free: 55.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.4141, allocations: 83.95 kB / 0.5004 GB, free: 55.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.488e-05/0.4142, allocations: 37.09 kB / 0.5004 GB, free: 55.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002666/0.4145, allocations: 260.5 kB / 0.5007 GB, free: 55.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4145, allocations: 5.188 kB / 0.5007 GB, free: 55.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001067/0.4156, allocations: 306.8 kB / 0.501 GB, free: 55.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001988/0.4158, allocations: 120.3 kB / 0.5011 GB, free: 55.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00304/0.4188, allocations: 1.675 MB / 0.5027 GB, free: 55.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.4188, allocations: 1.125 kB / 0.5027 GB, free: 55.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.4201, allocations: 0.8404 MB / 0.5036 GB, free: 55.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008021/0.4209, allocations: 110.7 kB / 0.5037 GB, free: 55.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.4237, allocations: 2.16 MB / 0.5058 GB, free: 54.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007142/0.4244, allocations: 1.07 MB / 0.5068 GB, free: 53.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005621/0.425, allocations: 178.9 kB / 0.507 GB, free: 53.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.4252, allocations: 61.59 kB / 0.507 GB, free: 53.36 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4252, allocations: 3.656 kB / 0.507 GB, free: 53.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01704/0.4423, allocations: 10.15 MB / 0.517 GB, free: 51.21 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)