Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 110.1 kB / 16.51 MB, free: 6.707 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.001273/0.001272, allocations: 191.9 kB / 17.43 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: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1754/0.1754, allocations: 38.03 MB / 329.3 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 64.83 kB / 398.1 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09782/0.09924, allocations: 58.07 MB / 456.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.00634/0.1056, allocations: 5.057 MB / 461.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.1086, allocations: 1.628 MB / 462.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.1089, allocations: 23.88 kB / 462.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009329/0.1099, allocations: 354.1 kB / 463.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.1104, allocations: 239 kB / 463.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.111, allocations: 219.6 kB / 463.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008449/0.1119, allocations: 0.8654 MB / 464.5 MB, free: 52 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004783/0.1124, allocations: 276.6 kB / 464.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.1127, allocations: 215 kB / 465 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004747/0.1131, allocations: 366.9 kB / 465.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/0.1132, allocations: 35.94 kB / 465.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.1137, allocations: 239.5 kB / 465.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.1139, allocations: 235.4 kB / 465.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.1141, allocations: 242.7 kB / 466.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006584/0.1148, allocations: 0.6464 MB / 466.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.1148, allocations: 7.984 kB / 466.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1148, allocations: 0 / 466.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1148, allocations: 0 / 466.7 MB, free: 13.82 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.001364/0.1162, allocations: 0.7661 MB / 467.5 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1163, allocations: 15.97 kB / 467.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.1168, allocations: 88.22 kB / 467.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.1175, allocations: 407.2 kB / 468 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.1175, allocations: 29.38 kB / 468 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.1176, allocations: 48.06 kB / 468.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009566/0.1186, allocations: 0.6804 MB / 468.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.1186, allocations: 4 kB / 468.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.1187, allocations: 15.98 kB / 468.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.1189, allocations: 56.95 kB / 468.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000999/0.1199, allocations: 0.6713 MB / 469.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.1234, allocations: 2.513 MB / 472 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.124, allocations: 333.3 kB / 472.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.1244, allocations: 233.9 kB / 472.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.1244, allocations: 11.97 kB / 472.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.1245, allocations: 42.5 kB / 472.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 3.016e-06/0.1245, allocations: 0 / 472.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002214/0.1267, allocations: 1.341 MB / 474 MB, free: 6.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.1268, allocations: 85.05 kB / 474.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.1271, allocations: 300.6 kB / 474.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.1271, allocations: 37.7 kB / 474.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1273, allocations: 259.5 kB / 474.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.1274, allocations: 145.8 kB / 474.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.1276, allocations: 94.16 kB / 474.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1277, allocations: 346.8 kB / 475.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.1281, allocations: 201 kB / 475.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.1285, allocations: 365.1 kB / 475.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/0.1293, allocations: 0.6099 MB / 476.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1293, allocations: 4 kB / 476.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009985/0.1303, allocations: 0.6347 MB / 477 MB, free: 2.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.1304, allocations: 14.17 kB / 477 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.1304, allocations: 8.031 kB / 477 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.1304, allocations: 8 kB / 477 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.1309, allocations: 119.8 kB / 477.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.1309, allocations: 7.938 kB / 477.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.1312, allocations: 27.97 kB / 477.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.1312, allocations: 24 kB / 477.2 MB, free: 2.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002716/0.1315, allocations: 213.6 kB / 477.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.36e-05/0.1316, allocations: 35.56 kB / 477.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008495/0.1324, allocations: 0.4925 MB / 478 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.1325, allocations: 11.94 kB / 478 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1325, allocations: 4 kB / 478 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1325, allocations: 3.984 kB / 478 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.1342, allocations: 1.1 MB / 479.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1342, allocations: 0 / 479.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.1346, allocations: 71.89 kB / 479.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1346, allocations: 0 / 479.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.1346, allocations: 12 kB / 479.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.1346, allocations: 7.984 kB / 479.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1346, allocations: 0 / 479.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.1357, allocations: 0.8396 MB / 480 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.672e-05/0.1358, allocations: 112.7 kB / 480.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.1359, allocations: 8 kB / 480.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1361, allocations: 15.98 kB / 480.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.1361, allocations: 23.91 kB / 480.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.1362, allocations: 12 kB / 480.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.1364, allocations: 219 kB / 480.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1364, allocations: 0 / 480.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004975/0.1369, allocations: 112 kB / 480.5 MB, free: 15.38 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 (33): * Single equations (assignments): 30 * 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.0002307/0.1372, allocations: 131.1 kB / 480.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007501/0.1379, allocations: 492.4 kB / 481.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1379, allocations: 3.938 kB / 481.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.1382, allocations: 229.3 kB / 481.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.1388, allocations: 57.16 kB / 481.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.1405, allocations: 1.311 MB / 482.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.1409, allocations: 0.8743 MB / 483.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.1413, allocations: 131.2 kB / 483.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.756e-05/0.1414, allocations: 31.42 kB / 483.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1414, allocations: 0 / 483.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of Templates: time 0.007547/0.149, allocations: 3.626 MB / 487.4 MB, free: 8.465 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1)