Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001526, allocations: 102.9 kB / 16.5 MB, free: 6.645 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.001958/0.001959, 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1755/0.1755, allocations: 38.03 MB / 329.3 MB, free: 9.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 70.66 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1175, allocations: 58.05 MB / 456.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006479/0.124, allocations: 5.123 MB / 461.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.127, allocations: 1.726 MB / 463 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.1274, allocations: 27.81 kB / 463 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008584/0.1282, allocations: 267 kB / 463.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005413/0.1288, allocations: 246.9 kB / 463.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.1294, allocations: 231.6 kB / 463.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007997/0.1302, allocations: 0.8926 MB / 464.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.1307, allocations: 269 kB / 464.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.131, allocations: 243 kB / 465.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005719/0.1316, allocations: 406.7 kB / 465.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.1317, allocations: 31.94 kB / 465.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.132, allocations: 143.8 kB / 465.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.1322, allocations: 231.3 kB / 465.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002747/0.1325, allocations: 254.6 kB / 466.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.1331, allocations: 0.6346 MB / 466.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1331, allocations: 0 / 466.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1331, allocations: 0 / 466.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.1332, allocations: 0 / 466.8 MB, free: 13.8 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001922/0.1351, allocations: 0.875 MB / 467.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.21e-05/0.1352, allocations: 16.02 kB / 467.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005746/0.1358, allocations: 92.17 kB / 467.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009785/0.1368, allocations: 483.8 kB / 468.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.1368, allocations: 37.36 kB / 468.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.1369, allocations: 48.12 kB / 468.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.1381, allocations: 0.6867 MB / 469 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.1381, allocations: 7.938 kB / 469.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.1382, allocations: 16 kB / 469.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.1383, allocations: 44.91 kB / 469.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009211/0.1393, allocations: 0.5268 MB / 469.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004004/0.1433, allocations: 3.102 MB / 472.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.1439, allocations: 329.2 kB / 473.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.1442, allocations: 177.7 kB / 473.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.1442, allocations: 8.484 kB / 473.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1443, allocations: 38.56 kB / 473.3 MB, free: 7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.973e-06/0.1443, allocations: 0 / 473.3 MB, free: 7 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002122/0.1464, allocations: 1.214 MB / 474.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.1465, allocations: 81.11 kB / 474.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.1469, allocations: 397.4 kB / 475 MB, free: 5.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.147, allocations: 33.7 kB / 475 MB, free: 5.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.1472, allocations: 291.2 kB / 475.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1474, allocations: 118.4 kB / 475.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.1475, allocations: 110.3 kB / 475.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1477, allocations: 354.7 kB / 475.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.148, allocations: 189 kB / 476 MB, free: 4.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.1484, allocations: 381.5 kB / 476.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007764/0.1492, allocations: 0.6011 MB / 477 MB, free: 2.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1492, allocations: 0 / 477 MB, free: 2.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001952/0.1512, allocations: 0.83 MB / 477.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1512, allocations: 18.39 kB / 477.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.1512, allocations: 8 kB / 477.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.1526, allocations: 257.4 kB / 478.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/0.1532, allocations: 139.8 kB / 478.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004887/0.1581, allocations: 3.747 MB / 482 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.1586, allocations: 27.97 kB / 482 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.1586, allocations: 28.06 kB / 482.1 MB, free: 13.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003346/0.159, allocations: 225.5 kB / 482.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/0.1591, allocations: 39.53 kB / 482.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008418/0.1599, allocations: 492.9 kB / 482.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1599, allocations: 4 kB / 482.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.1599, allocations: 4 kB / 482.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1599, allocations: 0 / 482.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.1614, allocations: 1.011 MB / 483.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.1614, allocations: 11.94 kB / 483.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.1619, allocations: 83.88 kB / 483.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1619, allocations: 0 / 483.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.162, allocations: 20.06 kB / 483.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.162, allocations: 3.984 kB / 483.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.162, allocations: 4 kB / 483.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009979/0.163, allocations: 0.7426 MB / 484.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1631, allocations: 120.7 kB / 484.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.1632, allocations: 15.91 kB / 484.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.1635, allocations: 15.98 kB / 484.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.1635, allocations: 27.91 kB / 484.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.1636, allocations: 15.98 kB / 484.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003254/0.1639, allocations: 263.2 kB / 485.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1639, allocations: 0 / 485.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006041/0.1645, allocations: 124 kB / 485.2 MB, free: 10.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * Array equations: 0 * 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.0001374/0.1647, allocations: 111.2 kB / 485.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.1664, allocations: 0.7912 MB / 486.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1664, allocations: 0 / 486.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.1667, allocations: 203.6 kB / 486.3 MB, free: 9.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.1674, allocations: 74.08 kB / 486.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.1712, allocations: 1.679 MB / 488.1 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.1717, allocations: 0.8979 MB / 489 MB, free: 6.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004144/0.1721, allocations: 127.3 kB / 489.1 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.1723, allocations: 47.42 kB / 489.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of SimCode: time 1.373e-06/0.1723, allocations: 0 / 489.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of Templates: time 0.01353/0.1859, allocations: 5.846 MB / 495 MB, free: 0.5039 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)