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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009402/0.0009402, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.535/1.535, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001754/0.001754, allocations: 118.1 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2144/0.2144, allocations: 37.92 MB / 330.9 MB, free: 7.312 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.222e-05/1.223e-05, allocations: 0 / 390.4 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.09851, allocations: 53.24 MB / 443.6 MB, free: 25.1 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3741/0.4726, allocations: 94.53 MB / 0.5255 GB, free: 9.695 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.4729, allocations: 80.11 kB / 0.5256 GB, free: 9.684 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03288/0.5058, allocations: 13.17 MB / 0.5384 GB, free: 2.023 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5058, allocations: 4 kB / 0.5384 GB, free: 2.02 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.955e-05/0.5059, allocations: 11.94 kB / 0.5385 GB, free: 2.008 MB / 347.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.001222/0.5071, allocations: 0.6686 MB / 0.5391 GB, free: 1.324 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5071, allocations: 12.02 kB / 0.5391 GB, free: 1.312 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006298/0.5078, allocations: 99.17 kB / 0.5392 GB, free: 1.215 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.5098, allocations: 0.8485 MB / 0.54 GB, free: 492 kB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.5099, allocations: 12 kB / 0.5401 GB, free: 480 kB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.51, allocations: 24 kB / 0.5401 GB, free: 456 kB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006575/0.5106, allocations: 463.5 kB / 0.5405 GB, free: 140 kB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009385/0.5116, allocations: 0.5956 MB / 0.5411 GB, free: 15.64 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.5116, allocations: 7.984 kB / 0.5411 GB, free: 15.64 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.5117, allocations: 7.891 kB / 0.5411 GB, free: 15.63 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.5118, allocations: 56.48 kB / 0.5412 GB, free: 15.58 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003672/0.5155, allocations: 2.398 MB / 0.5435 GB, free: 13.42 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.516, allocations: 364.2 kB / 0.5439 GB, free: 13.16 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.5163, allocations: 260.1 kB / 0.5441 GB, free: 12.98 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.5164, allocations: 4.281 kB / 0.5441 GB, free: 12.98 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.5164, allocations: 34.84 kB / 0.5441 GB, free: 12.94 MB / 363.1 MB Notification: Performance of pre-optimization done (n=47): time 1.773e-06/0.5164, allocations: 0 / 0.5441 GB, free: 12.94 MB / 363.1 MB Notification: Performance of matching and sorting (n=48): time 0.003081/0.5195, allocations: 1.576 MB / 0.5457 GB, free: 11.58 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.5196, allocations: 85.05 kB / 0.5458 GB, free: 11.48 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.5198, allocations: 232.3 kB / 0.546 GB, free: 11.29 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.5199, allocations: 25.7 kB / 0.546 GB, free: 11.25 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.52, allocations: 246.6 kB / 0.5463 GB, free: 11.05 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.5202, allocations: 160.2 kB / 0.5464 GB, free: 10.91 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.5202, allocations: 4.031 kB / 0.5464 GB, free: 10.91 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5204, allocations: 350 kB / 0.5467 GB, free: 10.57 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.5207, allocations: 218.1 kB / 0.5469 GB, free: 10.43 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.521, allocations: 360.8 kB / 0.5473 GB, free: 10.1 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/0.5218, allocations: 384.2 kB / 0.5477 GB, free: 9.805 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.5218, allocations: 4 kB / 0.5477 GB, free: 9.801 MB / 363.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001462/0.5233, allocations: 0.7903 MB / 0.5484 GB, free: 9.168 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.5233, allocations: 8 kB / 0.5484 GB, free: 9.16 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001131/0.5244, allocations: 0.6177 MB / 0.549 GB, free: 8.676 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.5248, allocations: 77.28 kB / 0.5491 GB, free: 8.609 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.5252, allocations: 103.6 kB / 0.5492 GB, free: 8.512 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.5267, allocations: 1.524 MB / 0.5507 GB, free: 7.004 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.527, allocations: 27.86 kB / 0.5507 GB, free: 6.977 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.5271, allocations: 19.12 kB / 0.5508 GB, free: 6.961 MB / 363.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 3 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.5272, allocations: 132.5 kB / 0.5509 GB, free: 6.828 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.5273, allocations: 31.62 kB / 0.5509 GB, free: 6.797 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.5285, allocations: 0.6516 MB / 0.5515 GB, free: 6.297 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.075e-05/0.5286, allocations: 19.98 kB / 0.5516 GB, free: 6.277 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5286, allocations: 4 kB / 0.5516 GB, free: 6.273 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.5286, allocations: 4 kB / 0.5516 GB, free: 6.27 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.5308, allocations: 1.236 MB / 0.5528 GB, free: 5.23 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5308, allocations: 8.031 kB / 0.5528 GB, free: 5.223 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.5312, allocations: 79.94 kB / 0.5529 GB, free: 5.145 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.5312, allocations: 3.938 kB / 0.5529 GB, free: 5.141 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.5313, allocations: 7.5 kB / 0.5529 GB, free: 5.137 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.5313, allocations: 11.92 kB / 0.5529 GB, free: 5.125 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5313, allocations: 3.953 kB / 0.5529 GB, free: 5.121 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.5329, allocations: 1.088 MB / 0.554 GB, free: 4.227 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.533, allocations: 111.9 kB / 0.5541 GB, free: 4.102 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.5331, allocations: 4 kB / 0.5541 GB, free: 4.098 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.5333, allocations: 23.95 kB / 0.5541 GB, free: 4.074 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.5334, allocations: 27.03 kB / 0.5541 GB, free: 4.051 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.5334, allocations: 11.19 kB / 0.5541 GB, free: 4.043 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.5337, allocations: 173.1 kB / 0.5543 GB, free: 3.902 MB / 363.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5337, allocations: 0 / 0.5543 GB, free: 3.902 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0005397/0.5342, allocations: 127.4 kB / 0.5544 GB, free: 3.781 MB / 363.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002408/0.5345, allocations: 135.1 kB / 0.5545 GB, free: 3.641 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0009328/0.5354, allocations: 0.66 MB / 0.5552 GB, free: 3.137 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5354, allocations: 5.125 kB / 0.5552 GB, free: 3.133 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.5358, allocations: 269 kB / 0.5554 GB, free: 2.953 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.5362, allocations: 58.03 kB / 0.5555 GB, free: 2.91 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.5378, allocations: 0.9207 MB / 0.5564 GB, free: 2.066 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.5383, allocations: 0.8852 MB / 0.5573 GB, free: 1.176 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0003686/0.5387, allocations: 135.1 kB / 0.5574 GB, free: 1.039 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.5388, allocations: 31.44 kB / 0.5574 GB, free: 1.008 MB / 363.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5388, allocations: 0 / 0.5574 GB, free: 1.008 MB / 363.1 MB Notification: Performance of Templates: time 0.008843/0.5477, allocations: 3.899 MB / 0.5612 GB, free: 13.14 MB / 379.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)