Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 101 kB / 17.59 MB, free: 5.562 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.001214/0.001214, allocations: 191.3 kB / 18.52 MB, free: 4.637 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.35/1.35, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1846/0.1846, allocations: 38.02 MB / 330.4 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 66.78 kB / 399.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 58.06 MB / 457.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.006253/0.1103, allocations: 4.424 MB / 461.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.1127, allocations: 1.422 MB / 463.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.113, allocations: 15.94 kB / 463.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.1141, allocations: 370.4 kB / 463.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005962/0.1148, allocations: 230.9 kB / 464 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007096/0.1155, allocations: 247.4 kB / 464.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006567/0.1161, allocations: 0.5301 MB / 464.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004725/0.1166, allocations: 281.1 kB / 465 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004162/0.1171, allocations: 239 kB / 465.2 MB, free: 320 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00048/0.1175, allocations: 303 kB / 465.5 MB, free: 16 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.1177, allocations: 32.05 kB / 465.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003325/0.1181, allocations: 131.7 kB / 465.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.1183, allocations: 227.5 kB / 465.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.1186, allocations: 230.9 kB / 466.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006703/0.1193, allocations: 0.5569 MB / 466.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1193, allocations: 3.938 kB / 466.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1193, allocations: 0 / 466.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.1194, allocations: 0 / 466.7 MB, free: 14.84 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001368/0.1207, allocations: 0.7349 MB / 467.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1208, allocations: 15.88 kB / 467.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005982/0.1214, allocations: 80.33 kB / 467.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.122, allocations: 391.2 kB / 467.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.1221, allocations: 29.38 kB / 468 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.1222, allocations: 48.12 kB / 468 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000852/0.1231, allocations: 0.6278 MB / 468.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.1231, allocations: 4 kB / 468.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.1232, allocations: 16 kB / 468.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.1233, allocations: 32.92 kB / 468.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.124, allocations: 483.5 kB / 469.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.1272, allocations: 2.891 MB / 472 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.1275, allocations: 225 kB / 472.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.1278, allocations: 157.6 kB / 472.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.1278, allocations: 7.984 kB / 472.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1278, allocations: 38.56 kB / 472.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.234e-06/0.1278, allocations: 0 / 472.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001562/0.1294, allocations: 0.9636 MB / 473.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.1295, allocations: 89.12 kB / 473.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.1298, allocations: 324.3 kB / 473.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1298, allocations: 29.7 kB / 473.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.13, allocations: 271.2 kB / 474.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.461e-05/0.1301, allocations: 102.6 kB / 474.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1302, allocations: 94.16 kB / 474.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1303, allocations: 346.8 kB / 474.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.1306, allocations: 149 kB / 474.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.1309, allocations: 343.2 kB / 475.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/0.1316, allocations: 0.5286 MB / 475.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1316, allocations: 0 / 475.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007937/0.1324, allocations: 0.5278 MB / 476.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1324, allocations: 8 kB / 476.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1324, allocations: 8.844 kB / 476.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.1324, allocations: 12 kB / 476.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.1329, allocations: 123.8 kB / 476.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.238e-05/0.1329, allocations: 11.98 kB / 476.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.1332, allocations: 31.92 kB / 476.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.1332, allocations: 19.98 kB / 476.4 MB, free: 4.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * 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.0002171/0.1334, allocations: 217.5 kB / 476.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.1335, allocations: 31.62 kB / 476.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000589/0.1341, allocations: 369.7 kB / 477 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1341, allocations: 4 kB / 477 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1341, allocations: 0 / 477 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1341, allocations: 4 kB / 477 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.1355, allocations: 0.8831 MB / 477.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.1355, allocations: 4 kB / 477.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.1358, allocations: 64 kB / 478 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1358, allocations: 7.938 kB / 478 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.1359, allocations: 11.98 kB / 478 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.1359, allocations: 3.938 kB / 478 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1359, allocations: 4 kB / 478 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007256/0.1366, allocations: 0.5852 MB / 478.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.1367, allocations: 108.7 kB / 478.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.1368, allocations: 8 kB / 478.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.137, allocations: 23.91 kB / 478.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.137, allocations: 15.97 kB / 478.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.1371, allocations: 12 kB / 478.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.1373, allocations: 215.1 kB / 478.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1373, allocations: 8 kB / 479 MB, free: 1.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004607/0.1377, allocations: 95.98 kB / 479.1 MB, free: 1.73 MB / 350.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 (31): * Single equations (assignments): 30 * 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.0001076/0.1379, allocations: 103.5 kB / 479.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006482/0.1385, allocations: 416.9 kB / 479.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1385, allocations: 0 / 479.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.1387, allocations: 143.8 kB / 479.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.1392, allocations: 67.69 kB / 479.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.1408, allocations: 1.058 MB / 480.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.1413, allocations: 0.8543 MB / 481.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1414, allocations: 43.42 kB / 481.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1414, allocations: 0 / 481.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Templates: time 0.007962/0.1493, allocations: 4.909 MB / 486.6 MB, free: 10.08 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1)