Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 115.1 kB / 16.63 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.001312/0.001312, allocations: 186 kB / 17.55 MB, free: 5.934 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.399/1.399, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1765/0.1765, allocations: 38.03 MB / 329.4 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002223, allocations: 62.09 kB / 398.3 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1306, allocations: 58.07 MB / 456.3 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006313/0.1369, allocations: 5.069 MB / 461.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1396, allocations: 1.601 MB / 463 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.1398, allocations: 27.81 kB / 463 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009924/0.1408, allocations: 346.8 kB / 463.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.1413, allocations: 239 kB / 463.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.1419, allocations: 223.6 kB / 463.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.1425, allocations: 0.5573 MB / 464.4 MB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004358/0.1429, allocations: 305 kB / 464.7 MB, free: 48 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.1432, allocations: 259 kB / 464.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.1437, allocations: 374.9 kB / 465.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/0.1438, allocations: 40 kB / 465.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004149/0.1442, allocations: 235.6 kB / 465.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1444, allocations: 243.5 kB / 465.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.1447, allocations: 250.7 kB / 466 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006922/0.1454, allocations: 0.6659 MB / 466.7 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1454, allocations: 4 kB / 466.7 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1454, allocations: 7.938 kB / 466.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1454, allocations: 0 / 466.7 MB, free: 13.99 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00134/0.1468, allocations: 0.7661 MB / 467.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1468, allocations: 11.89 kB / 467.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006174/0.1474, allocations: 96.2 kB / 467.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.148, allocations: 407.2 kB / 468 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.148, allocations: 29.36 kB / 468 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.1482, allocations: 48.11 kB / 468.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009756/0.1492, allocations: 0.6804 MB / 468.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.1492, allocations: 3.938 kB / 468.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.1493, allocations: 16 kB / 468.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/0.1495, allocations: 56.95 kB / 468.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009838/0.1505, allocations: 0.6674 MB / 469.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.1537, allocations: 2.437 MB / 471.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.1542, allocations: 353.7 kB / 472.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.1546, allocations: 254.2 kB / 472.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.1546, allocations: 12.25 kB / 472.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1547, allocations: 46.83 kB / 472.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 3.797e-06/0.1547, allocations: 0 / 472.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002243/0.1569, allocations: 1.466 MB / 474 MB, free: 6.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.157, allocations: 85.11 kB / 474.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.1573, allocations: 291 kB / 474.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.1573, allocations: 33.7 kB / 474.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1575, allocations: 247.7 kB / 474.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.1576, allocations: 161.6 kB / 474.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.1578, allocations: 90.23 kB / 474.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1579, allocations: 346.8 kB / 475.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.1584, allocations: 221 kB / 475.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.1588, allocations: 357.8 kB / 475.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008245/0.1596, allocations: 0.6317 MB / 476.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1596, allocations: 4 kB / 476.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001314/0.161, allocations: 0.7163 MB / 477.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.161, allocations: 11.94 kB / 477.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008695/0.1619, allocations: 0.5147 MB / 477.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004549/0.1623, allocations: 72.8 kB / 477.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.1628, allocations: 112 kB / 477.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.1648, allocations: 1.722 MB / 479.6 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.1651, allocations: 35.95 kB / 479.7 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/0.1651, allocations: 20 kB / 479.7 MB, free: 384 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002635/0.1654, allocations: 218.4 kB / 479.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.1655, allocations: 39.47 kB / 479.9 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008782/0.1664, allocations: 0.5629 MB / 480.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.1664, allocations: 12.14 kB / 480.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1664, allocations: 0 / 480.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.1664, allocations: 7.969 kB / 480.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.1683, allocations: 1.203 MB / 481.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.1683, allocations: 7.938 kB / 481.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.1687, allocations: 79.88 kB / 481.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.1688, allocations: 4 kB / 481.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.1688, allocations: 8 kB / 481.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-06/0.1688, allocations: 7.984 kB / 481.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1688, allocations: 3.984 kB / 481.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.17, allocations: 0.9258 MB / 482.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.1702, allocations: 112.7 kB / 482.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.1702, allocations: 8 kB / 482.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.1705, allocations: 19.97 kB / 482.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.1706, allocations: 27.91 kB / 482.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.1706, allocations: 16 kB / 482.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.1709, allocations: 201.9 kB / 483.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.1709, allocations: 0 / 483.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005639/0.1714, allocations: 127.9 kB / 483.3 MB, free: 12.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003545/0.1718, allocations: 127.5 kB / 483.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.1731, allocations: 0.7736 MB / 484.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1731, allocations: 3.938 kB / 484.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.1736, allocations: 267.4 kB / 484.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.1741, allocations: 72.38 kB / 484.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.176, allocations: 1.372 MB / 485.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.1767, allocations: 0.8782 MB / 486.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003402/0.177, allocations: 131.2 kB / 486.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1771, allocations: 35.42 kB / 486.9 MB, free: 8.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1772, allocations: 0 / 486.9 MB, free: 8.93 MB / 366.1 MB Notification: Performance of Templates: time 0.008925/0.1861, allocations: 4.438 MB / 491.3 MB, free: 4.527 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)