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.0006852/0.0006852, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008796/0.001565, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006744/0.0006744, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008476/0.001522, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8879/0.8879, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09149/0.9794, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.1161/0.1161, allocations: 29.43 MB / 273.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1312/0.2472, allocations: 9.522 MB / 283.1 MB, free: 12.81 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.503e-06/1.503e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.331e-05, allocations: 4.609 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.007725/0.007739, allocations: 4.161 MB / 288.6 MB, free: 8.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005091/0.01283, allocations: 1.461 MB / 290 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.01313, allocations: 21.44 kB / 290.1 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.01354, allocations: 168.1 kB / 290.2 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.01392, allocations: 255.9 kB / 290.5 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.01443, allocations: 248 kB / 290.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.01497, allocations: 0.5708 MB / 291.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003353/0.01832, allocations: 228.3 kB / 291.5 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.01885, allocations: 398.9 kB / 291.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.01918, allocations: 269.3 kB / 292.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.01923, allocations: 30.25 kB / 292.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.01949, allocations: 152.2 kB / 292.3 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.01968, allocations: 218.7 kB / 292.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.01984, allocations: 137.4 kB / 292.7 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.02031, allocations: 413.7 kB / 293.1 MB, free: 5.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.02032, allocations: 1.188 kB / 293.1 MB, free: 5.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.02032, allocations: 0 / 293.1 MB, free: 5.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.02033, allocations: 0 / 293.1 MB, free: 5.723 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.004099/0.02443, allocations: 0.7262 MB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.02446, allocations: 9.844 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.02502, allocations: 204.9 kB / 294 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.0254, allocations: 312.4 kB / 294.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.02543, allocations: 33.36 kB / 294.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.02552, allocations: 40.56 kB / 294.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.02598, allocations: 442.9 kB / 294.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.026, allocations: 3.938 kB / 294.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.02603, allocations: 20 kB / 294.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.009e-05/0.0261, allocations: 28.98 kB / 294.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.02636, allocations: 178.6 kB / 295.1 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004914/0.03128, allocations: 2.325 MB / 297.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.03146, allocations: 119.6 kB / 297.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.791e-05/0.03154, allocations: 61.69 kB / 297.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.03156, allocations: 7.984 kB / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.03159, allocations: 42.5 kB / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 3.567e-06/0.03159, allocations: 3.984 kB / 297.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.004009/0.0356, allocations: 475.9 kB / 298.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.03564, allocations: 85.05 kB / 298.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.03584, allocations: 286.7 kB / 298.4 MB, free: 308 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.03587, allocations: 33.7 kB / 298.5 MB, free: 268 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.03599, allocations: 264.4 kB / 298.7 MB, free: 0 / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.03607, allocations: 107.1 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-05/0.03617, allocations: 90.09 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.03626, allocations: 342.8 kB / 299.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-05/0.03634, allocations: 51.92 kB / 299.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.03652, allocations: 246.6 kB / 299.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.03701, allocations: 375.1 kB / 299.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.03701, allocations: 4 kB / 299.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002533/0.03727, allocations: 300.6 kB / 300.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.03728, allocations: 11.94 kB / 300.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.03729, allocations: 8 kB / 300.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.0373, allocations: 12 kB / 300.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.03759, allocations: 132.8 kB / 300.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.0376, allocations: 11.94 kB / 300.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.931e-05/0.0377, allocations: 16 kB / 300.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.03772, allocations: 20 kB / 300.4 MB, free: 14.1 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 9.028e-05/0.03781, allocations: 148.5 kB / 300.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.03784, allocations: 27.92 kB / 300.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.04021, allocations: 189.7 kB / 300.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.04021, allocations: 4 kB / 300.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.04021, allocations: 0 / 300.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.04022, allocations: 3.984 kB / 300.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008448/0.04106, allocations: 0.5285 MB / 301.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.04107, allocations: 0 / 301.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.04142, allocations: 83.88 kB / 301.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.04146, allocations: 27.81 kB / 301.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.04147, allocations: 8.094 kB / 301.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.04149, allocations: 8 kB / 301.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.0415, allocations: 7.938 kB / 301.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.0415, allocations: 0 / 301.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.04193, allocations: 343 kB / 301.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.04198, allocations: 4 kB / 301.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.04213, allocations: 8 kB / 301.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.04217, allocations: 19.97 kB / 301.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.0422, allocations: 7.984 kB / 301.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.04231, allocations: 104.6 kB / 301.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04231, allocations: 4 kB / 301.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004183/0.04273, allocations: 92 kB / 302 MB, free: 12.41 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 0.0001207/0.04285, allocations: 84.36 kB / 302.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.04321, allocations: 228.3 kB / 302.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/0.04323, allocations: 4 kB / 302.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.04338, allocations: 88.7 kB / 302.4 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.04401, allocations: 0.5277 MB / 302.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/0.05393, allocations: 0.8161 MB / 303.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.05408, allocations: 141.2 kB / 303.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.05427, allocations: 55.25 kB / 304 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.05448, allocations: 115.3 kB / 304.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.05448, allocations: 3.938 kB / 304.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of Templates: time 0.008605/0.06309, allocations: 3.468 MB / 307.5 MB, free: 6.812 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.580496558919549]