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.001292/0.001292, allocations: 104.7 kB / 16.51 MB, free: 6.652 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.001443/0.001443, 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.416/1.416, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1783/0.1783, allocations: 38.03 MB / 329.3 MB, free: 9.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 61.84 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.108, allocations: 58.07 MB / 456.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.006183/0.1142, allocations: 5.065 MB / 461.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.1168, allocations: 1.632 MB / 462.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.117, allocations: 23.88 kB / 462.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009885/0.118, allocations: 350.7 kB / 463.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005347/0.1186, allocations: 211.1 kB / 463.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007056/0.1193, allocations: 219.6 kB / 463.6 MB, free: 1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008136/0.1201, allocations: 0.8186 MB / 464.4 MB, free: 180 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005057/0.1206, allocations: 264.6 kB / 464.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.121, allocations: 211.1 kB / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004544/0.1214, allocations: 315 kB / 465.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.1215, allocations: 24 kB / 465.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.1218, allocations: 147.7 kB / 465.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.1221, allocations: 215.4 kB / 465.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.1223, allocations: 222.9 kB / 465.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.123, allocations: 0.5528 MB / 466.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.123, allocations: 4 kB / 466.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.123, allocations: 0 / 466.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.123, allocations: 0 / 466.4 MB, free: 14.25 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.001197/0.1242, allocations: 0.731 MB / 467.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1242, allocations: 8.031 kB / 467.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004998/0.1247, allocations: 88.25 kB / 467.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.1253, allocations: 391.2 kB / 467.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.1253, allocations: 33.36 kB / 467.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1255, allocations: 48.11 kB / 467.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009303/0.1264, allocations: 0.6209 MB / 468.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.1264, allocations: 3.938 kB / 468.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/0.1265, allocations: 23.98 kB / 468.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.1266, allocations: 36.98 kB / 468.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.1274, allocations: 479.5 kB / 468.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.1304, allocations: 2.883 MB / 471.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.1308, allocations: 234.3 kB / 471.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.1311, allocations: 145.7 kB / 472.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.1311, allocations: 7.938 kB / 472.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1311, allocations: 38.56 kB / 472.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.254e-06/0.1312, allocations: 4 kB / 472.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001702/0.1329, allocations: 0.9592 MB / 473.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.1329, allocations: 81.11 kB / 473.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.1333, allocations: 324.3 kB / 473.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.1333, allocations: 29.7 kB / 473.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.1335, allocations: 283.2 kB / 473.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.876e-05/0.1336, allocations: 110.7 kB / 473.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.1338, allocations: 86.17 kB / 474 MB, free: 6.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1339, allocations: 350.7 kB / 474.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.1342, allocations: 145 kB / 474.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.1346, allocations: 343.2 kB / 474.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.1352, allocations: 0.5248 MB / 475.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1352, allocations: 0 / 475.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007498/0.136, allocations: 0.5326 MB / 475.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.136, allocations: 8 kB / 475.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.136, allocations: 4 kB / 475.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.136, allocations: 15.98 kB / 475.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.1364, allocations: 115.8 kB / 476 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.1365, allocations: 11.94 kB / 476 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.1367, allocations: 27.97 kB / 476 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.1368, allocations: 24 kB / 476 MB, free: 3.938 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.0002287/0.137, allocations: 213.6 kB / 476.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.137, allocations: 35.61 kB / 476.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006159/0.1377, allocations: 369.6 kB / 476.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1377, allocations: 3.938 kB / 476.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.1377, allocations: 4 kB / 476.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1377, allocations: 0 / 476.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.1391, allocations: 0.8873 MB / 477.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1391, allocations: 4 kB / 477.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.1394, allocations: 63.91 kB / 477.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1394, allocations: 4 kB / 477.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.1395, allocations: 11.98 kB / 477.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.1395, allocations: 7.922 kB / 477.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1395, allocations: 7.938 kB / 477.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007724/0.1403, allocations: 0.5771 MB / 478.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.1403, allocations: 112.8 kB / 478.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.1404, allocations: 8 kB / 478.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.1406, allocations: 15.92 kB / 478.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.1407, allocations: 23.86 kB / 478.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.1407, allocations: 15.98 kB / 478.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.1409, allocations: 219.1 kB / 478.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1409, allocations: 0 / 478.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.1414, allocations: 92 kB / 478.7 MB, free: 1.148 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.0001256/0.1415, allocations: 107.2 kB / 478.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.142, allocations: 359.5 kB / 479.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.142, allocations: 1.812 kB / 479.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.1423, allocations: 139.8 kB / 479.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.1428, allocations: 73.3 kB / 479.4 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.1444, allocations: 1.167 MB / 480.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.1449, allocations: 0.8545 MB / 481.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003361/0.1453, allocations: 131.1 kB / 481.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/0.1454, allocations: 35.44 kB / 481.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1454, allocations: 4 kB / 481.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Templates: time 0.007236/0.1526, allocations: 3.162 MB / 484.7 MB, free: 11.09 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)