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.001268/0.001268, allocations: 101.3 kB / 17.59 MB, free: 5.426 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.001124/0.001124, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.33/1.33, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1856/0.1856, allocations: 38.03 MB / 330.4 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 55.88 kB / 399.5 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09859, allocations: 58.07 MB / 457.5 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006186/0.1048, allocations: 4.491 MB / 462 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.1075, allocations: 1.523 MB / 463.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003034/0.1078, allocations: 15.88 kB / 463.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009178/0.1087, allocations: 282.6 kB / 463.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006986/0.1094, allocations: 266.6 kB / 464.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006857/0.1101, allocations: 259.4 kB / 464.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007176/0.1108, allocations: 0.6352 MB / 465 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004493/0.1113, allocations: 284.7 kB / 465.3 MB, free: 304 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.1117, allocations: 278.9 kB / 465.5 MB, free: 24 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.1122, allocations: 390.8 kB / 465.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.569e-05/0.1123, allocations: 44 kB / 466 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.1126, allocations: 151.8 kB / 466.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.1128, allocations: 247.4 kB / 466.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002755/0.1131, allocations: 274.6 kB / 466.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.1138, allocations: 0.6424 MB / 467.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1138, allocations: 0 / 467.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1138, allocations: 0 / 467.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1138, allocations: 0 / 467.3 MB, free: 14.29 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.001703/0.1156, allocations: 0.875 MB / 468.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1156, allocations: 19.89 kB / 468.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005421/0.1161, allocations: 100.1 kB / 468.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/0.117, allocations: 475.9 kB / 468.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.117, allocations: 33.31 kB / 468.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.1172, allocations: 60.02 kB / 468.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008884/0.1181, allocations: 0.6918 MB / 469.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1181, allocations: 0 / 469.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.1182, allocations: 20 kB / 469.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.1183, allocations: 36.97 kB / 469.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007769/0.1191, allocations: 0.5229 MB / 470.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.1225, allocations: 3.106 MB / 473.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.1231, allocations: 325.2 kB / 473.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.1233, allocations: 174.7 kB / 473.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.1234, allocations: 11.98 kB / 473.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1234, allocations: 38.5 kB / 473.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.1234, allocations: 0 / 473.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001942/0.1254, allocations: 1.21 MB / 474.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.1254, allocations: 81.11 kB / 475 MB, free: 6.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.1259, allocations: 397.4 kB / 475.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.1259, allocations: 33.7 kB / 475.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.1261, allocations: 299.2 kB / 475.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.1262, allocations: 122.3 kB / 475.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.1263, allocations: 102.3 kB / 475.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1265, allocations: 362.7 kB / 476.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.1268, allocations: 185 kB / 476.5 MB, free: 4.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.1272, allocations: 385.5 kB / 476.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.1279, allocations: 0.5932 MB / 477.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1279, allocations: 0 / 477.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001845/0.1298, allocations: 0.8301 MB / 478.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1298, allocations: 12.09 kB / 478.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1298, allocations: 4 kB / 478.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.131, allocations: 269.4 kB / 478.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005941/0.1316, allocations: 139.8 kB / 478.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004696/0.1363, allocations: 4.056 MB / 482.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.1367, allocations: 27.98 kB / 482.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.1368, allocations: 27.98 kB / 482.8 MB, free: 13.82 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.0002729/0.1371, allocations: 217.9 kB / 483 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.1371, allocations: 39.53 kB / 483.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/0.1379, allocations: 489.1 kB / 483.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1379, allocations: 4 kB / 483.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1379, allocations: 7.938 kB / 483.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.138, allocations: 7.969 kB / 483.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.1394, allocations: 1.011 MB / 484.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1394, allocations: 3.938 kB / 484.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.1398, allocations: 95.89 kB / 484.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1399, allocations: 0 / 484.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.1399, allocations: 11.98 kB / 484.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1399, allocations: 4 kB / 484.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1399, allocations: 0 / 484.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009521/0.1409, allocations: 0.7473 MB / 485.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.72e-05/0.141, allocations: 120.5 kB / 485.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.141, allocations: 16 kB / 485.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.1413, allocations: 15.97 kB / 485.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.1414, allocations: 23.97 kB / 485.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.1414, allocations: 8 kB / 485.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002656/0.1417, allocations: 271.1 kB / 485.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1417, allocations: 0 / 485.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005021/0.1422, allocations: 124 kB / 486 MB, free: 10.51 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.0001167/0.1423, allocations: 111.2 kB / 486.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.1439, allocations: 0.8568 MB / 487 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1439, allocations: 0 / 487 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.1442, allocations: 199.6 kB / 487.1 MB, free: 9.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.1448, allocations: 93.48 kB / 487.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.1481, allocations: 1.521 MB / 488.8 MB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.1486, allocations: 0.8898 MB / 489.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.1487, allocations: 47.42 kB / 489.7 MB, free: 6.703 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1487, allocations: 0 / 489.7 MB, free: 6.703 MB / 366.1 MB Notification: Performance of Templates: time 0.01101/0.1598, allocations: 7.882 MB / 497.6 MB, free: 14.83 MB / 382.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)