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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006934/0.0006934, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009078/0.001601, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002318, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9077/0.9077, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07567/0.9834, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1254/0.1254, allocations: 29.42 MB / 273.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1249/0.2502, allocations: 9.524 MB / 282.9 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.38e-05, allocations: 3.438 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.00391/0.003924, allocations: 4.136 MB / 288.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.005687, allocations: 1.461 MB / 289.8 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.005853, allocations: 20.78 kB / 289.8 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.006205, allocations: 163.9 kB / 290 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.006555, allocations: 255.3 kB / 290.2 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.007052, allocations: 253.3 kB / 290.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004897/0.007542, allocations: 0.5749 MB / 291 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.007823, allocations: 223.3 kB / 291.3 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004626/0.008286, allocations: 394.1 kB / 291.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.008565, allocations: 273.2 kB / 291.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.008603, allocations: 30.97 kB / 291.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.008862, allocations: 151.7 kB / 292.1 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.00903, allocations: 223.2 kB / 292.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.00917, allocations: 137.5 kB / 292.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.009597, allocations: 414.1 kB / 292.8 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.009607, allocations: 0 / 292.8 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.009608, allocations: 0 / 292.8 MB, free: 5.797 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.009623, allocations: 1.219 kB / 292.9 MB, free: 5.797 MB / 282.7 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.0007804/0.0104, allocations: 0.722 MB / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.01043, allocations: 9.625 kB / 293.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004322/0.01086, allocations: 206.8 kB / 293.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.0112, allocations: 312.4 kB / 294.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.01122, allocations: 33.36 kB / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.0113, allocations: 40.56 kB / 294.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.01166, allocations: 435 kB / 294.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.01168, allocations: 7.938 kB / 294.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.0117, allocations: 19.98 kB / 294.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.053e-05/0.01176, allocations: 32.98 kB / 294.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.01197, allocations: 178.6 kB / 294.8 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.01368, allocations: 2.329 MB / 297.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.01382, allocations: 121.8 kB / 297.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.01388, allocations: 61.73 kB / 297.3 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.0139, allocations: 11.98 kB / 297.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.01392, allocations: 34.56 kB / 297.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.362e-06/0.01392, allocations: 3.938 kB / 297.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005934/0.01452, allocations: 468 kB / 297.8 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.01455, allocations: 81.11 kB / 297.9 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.01469, allocations: 290.7 kB / 298.2 MB, free: 428 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.01471, allocations: 33.7 kB / 298.2 MB, free: 388 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.0148, allocations: 256.5 kB / 298.5 MB, free: 128 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.01485, allocations: 111.1 kB / 298.6 MB, free: 16 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.01494, allocations: 90.09 kB / 298.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.01502, allocations: 350.7 kB / 299 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.01507, allocations: 51.8 kB / 299.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.01521, allocations: 238.7 kB / 299.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.01545, allocations: 359.1 kB / 299.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01545, allocations: 4 kB / 299.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002724/0.01572, allocations: 299.7 kB / 300 MB, free: 14.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01574, allocations: 13.81 kB / 300 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01574, allocations: 8.875 kB / 300 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.01576, allocations: 8 kB / 300 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.01603, allocations: 135.8 kB / 300.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.01604, allocations: 11.94 kB / 300.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.01615, allocations: 19.98 kB / 300.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.01617, allocations: 20 kB / 300.2 MB, free: 14.23 MB / 298.7 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 8.793e-05/0.01626, allocations: 144.5 kB / 300.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.0163, allocations: 31.91 kB / 300.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.0165, allocations: 185.7 kB / 300.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.0165, allocations: 4 kB / 300.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.0165, allocations: 4 kB / 300.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01651, allocations: 3.984 kB / 300.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.01702, allocations: 0.5287 MB / 301.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01702, allocations: 0 / 301.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.01722, allocations: 87.81 kB / 301.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.01725, allocations: 23.81 kB / 301.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01725, allocations: 4 kB / 301.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.01726, allocations: 16.08 kB / 301.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.01727, allocations: 4 kB / 301.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01727, allocations: 0 / 301.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.01752, allocations: 335 kB / 301.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.01755, allocations: 8 kB / 301.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.01762, allocations: 8 kB / 301.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.01765, allocations: 23.95 kB / 301.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.01766, allocations: 4 kB / 301.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.425e-05/0.01772, allocations: 104.6 kB / 301.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01772, allocations: 0 / 301.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.01797, allocations: 96 kB / 301.8 MB, free: 12.55 MB / 298.7 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 7.746e-05/0.01804, allocations: 84.34 kB / 301.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.01825, allocations: 215 kB / 302 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.01826, allocations: 8.125 kB / 302.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.715e-05/0.01833, allocations: 76.7 kB / 302.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.01859, allocations: 110 kB / 302.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/0.02433, allocations: 0.823 MB / 303.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.626e-05/0.02442, allocations: 145.2 kB / 303.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.02455, allocations: 47.25 kB / 303.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.02468, allocations: 119.3 kB / 303.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02468, allocations: 0 / 303.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of Templates: time 0.005652/0.03033, allocations: 3.692 MB / 307.1 MB, free: 7.254 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6151345362886786]