Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 95.33 kB / 16.5 MB, free: 6.641 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.001143/0.001143, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.45/1.45, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1836/0.1836, allocations: 38.03 MB / 329.3 MB, free: 8.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 59.62 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1301, allocations: 58.07 MB / 456.1 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009011/0.1391, allocations: 7.743 MB / 463.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00594/0.1451, allocations: 4.245 MB / 468.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006406/0.1458, allocations: 15.94 kB / 468.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002558/0.1484, allocations: 0.9899 MB / 469.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.1513, allocations: 1.051 MB / 470.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009617/0.1523, allocations: 271.4 kB / 470.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002808/0.1551, allocations: 2.549 MB / 473 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006641/0.1558, allocations: 268.7 kB / 473.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.1569, allocations: 465.7 kB / 473.7 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.1582, allocations: 0.6228 MB / 474.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.1584, allocations: 27.94 kB / 474.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/0.1612, allocations: 1.247 MB / 475.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005804/0.1618, allocations: 267.3 kB / 475.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006594/0.1625, allocations: 234.8 kB / 476.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002312/0.1648, allocations: 0.8918 MB / 477 MB, free: 3.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1649, allocations: 0 / 477 MB, free: 3.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1649, allocations: 0 / 477 MB, free: 3.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.1649, allocations: 0 / 477 MB, free: 3.562 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001555/0.1665, allocations: 0.7962 MB / 477.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1665, allocations: 8.031 kB / 477.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.1682, allocations: 140.2 kB / 477.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.1687, allocations: 326.4 kB / 478.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.1688, allocations: 33.36 kB / 478.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.1688, allocations: 40.36 kB / 478.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009175/0.1697, allocations: 0.5791 MB / 478.9 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.1698, allocations: 4 kB / 478.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.1698, allocations: 19.98 kB / 478.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.607e-05/0.1699, allocations: 40.56 kB / 479 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007014/0.1706, allocations: 386.1 kB / 479.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003065/0.1737, allocations: 2.607 MB / 482 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/0.1744, allocations: 425.9 kB / 482.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.1747, allocations: 221.6 kB / 482.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.1748, allocations: 4 kB / 482.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.1748, allocations: 38.55 kB / 482.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.034e-06/0.1748, allocations: 4 kB / 482.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001861/0.1767, allocations: 0.7604 MB / 483.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.1768, allocations: 106.8 kB / 483.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.1772, allocations: 324.5 kB / 483.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1772, allocations: 33.7 kB / 483.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.1774, allocations: 251.7 kB / 484.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1775, allocations: 118.3 kB / 484.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.1776, allocations: 78.2 kB / 484.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1778, allocations: 346.8 kB / 484.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.178, allocations: 124.8 kB / 484.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.1784, allocations: 285.8 kB / 485 MB, free: 11.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.179, allocations: 460.1 kB / 485.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.179, allocations: 0 / 485.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009367/0.1799, allocations: 0.5617 MB / 486 MB, free: 9.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1799, allocations: 8 kB / 486.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.18, allocations: 4 kB / 486.1 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/0.1803, allocations: 125.3 kB / 486.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.1806, allocations: 71.91 kB / 486.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.1832, allocations: 2.337 MB / 488.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.1835, allocations: 47.52 kB / 488.6 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.1836, allocations: 20 kB / 488.7 MB, free: 7.203 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002543/0.1838, allocations: 202.7 kB / 488.8 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/0.1839, allocations: 43.47 kB / 488.9 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.537e-05/0.184, allocations: 47.95 kB / 488.9 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.184, allocations: 4 kB / 488.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.1841, allocations: 4 kB / 488.9 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1841, allocations: 3.984 kB / 489 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.1855, allocations: 0.9456 MB / 489.9 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1855, allocations: 3.984 kB / 489.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.1856, allocations: 35.92 kB / 489.9 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/0.1859, allocations: 116 kB / 490 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.1859, allocations: 8 kB / 490.1 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.1884, allocations: 2.34 MB / 492.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1884, allocations: 0 / 492.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.1892, allocations: 0.6262 MB / 493 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1893, allocations: 112.7 kB / 493.1 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.1893, allocations: 7.984 kB / 493.1 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1895, allocations: 12 kB / 493.2 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.1896, allocations: 27.91 kB / 493.2 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.1896, allocations: 12 kB / 493.2 MB, free: 2.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.1899, allocations: 223 kB / 493.4 MB, free: 2.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1899, allocations: 0 / 493.4 MB, free: 2.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007257/0.1906, allocations: 155.8 kB / 493.6 MB, free: 2.023 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001447/0.1908, allocations: 115.2 kB / 493.7 MB, free: 1.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000917/0.1917, allocations: 0.5031 MB / 494.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1917, allocations: 320 / 494.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004611/0.1922, allocations: 350.1 kB / 494.5 MB, free: 1.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.1928, allocations: 53.84 kB / 494.6 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1944, allocations: 0.9745 MB / 495.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.1949, allocations: 0.8863 MB / 496.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000196/0.1951, allocations: 70.91 kB / 496.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.1952, allocations: 19.44 kB / 496.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1952, allocations: 4 kB / 496.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of Templates: time 0.007974/0.2032, allocations: 3.523 MB / 0.4883 GB, free: 11.44 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)