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.0009552/0.0009552, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.0009554/0.0009554, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.9731/0.9731, allocations: 177.1 MB / 205 MB, free: 5.578 MB / 186.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.2312/0.2312, allocations: 29.42 MB / 290.9 MB, free: 2.496 MB / 266.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 3.426e-06/3.426e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.855e-05, allocations: 10.31 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.007034/0.007072, allocations: 4.052 MB / 373.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.009505, allocations: 1.442 MB / 375.1 MB, free: 5.488 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.009723, allocations: 15.88 kB / 375.1 MB, free: 5.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005392/0.01026, allocations: 147.1 kB / 375.3 MB, free: 5.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004577/0.01072, allocations: 234.7 kB / 375.5 MB, free: 5.098 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.0113, allocations: 255.2 kB / 375.7 MB, free: 4.848 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005033/0.0118, allocations: 0.5416 MB / 376.3 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.01214, allocations: 217.8 kB / 376.5 MB, free: 4.094 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.01255, allocations: 335 kB / 376.8 MB, free: 3.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.01288, allocations: 279.3 kB / 377.1 MB, free: 3.492 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.01292, allocations: 35.94 kB / 377.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.01318, allocations: 143.8 kB / 377.3 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.01336, allocations: 243.4 kB / 377.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.0135, allocations: 155.7 kB / 377.7 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.01398, allocations: 446.5 kB / 378.1 MB, free: 2.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.01399, allocations: 0 / 378.1 MB, free: 2.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01399, allocations: 4 kB / 378.1 MB, free: 2.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.014, allocations: 0 / 378.1 MB, free: 2.484 MB / 346.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.0009233/0.01492, allocations: 0.7783 MB / 378.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.01497, allocations: 15.98 kB / 378.9 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005736/0.01554, allocations: 164.4 kB / 379.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.01603, allocations: 354.8 kB / 379.4 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.01606, allocations: 33.36 kB / 379.4 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.01616, allocations: 48.55 kB / 379.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.01668, allocations: 0.4902 MB / 380 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.01669, allocations: 11.92 kB / 380 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.01672, allocations: 20 kB / 380 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-05/0.0168, allocations: 36.97 kB / 380 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.01713, allocations: 225.6 kB / 380.3 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.01934, allocations: 3.352 MB / 383.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.01958, allocations: 161.9 kB / 383.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.01968, allocations: 79.41 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.01971, allocations: 8 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.01975, allocations: 45.31 kB / 383.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.635e-06/0.01975, allocations: 3.938 kB / 383.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001033/0.02079, allocations: 0.6663 MB / 384.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.02083, allocations: 77.11 kB / 384.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.02107, allocations: 362.1 kB / 385 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.02109, allocations: 33.7 kB / 385 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.02124, allocations: 330.7 kB / 385.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.02131, allocations: 103.2 kB / 385.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.02141, allocations: 99.8 kB / 385.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.02156, allocations: 0.5235 MB / 386.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.663e-05/0.02166, allocations: 64.95 kB / 386.1 MB, free: 10 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.02189, allocations: 347.6 kB / 386.5 MB, free: 9.535 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.02229, allocations: 478.2 kB / 387 MB, free: 8.941 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.02229, allocations: 0 / 387 MB, free: 8.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004335/0.02272, allocations: 404.7 kB / 387.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.02275, allocations: 8 kB / 387.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.02276, allocations: 12.81 kB / 387.4 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.02278, allocations: 8 kB / 387.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.02303, allocations: 123.8 kB / 387.5 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.02304, allocations: 12 kB / 387.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.02316, allocations: 23.98 kB / 387.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.02319, allocations: 28 kB / 387.6 MB, free: 8.328 MB / 362.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 0.0001201/0.02331, allocations: 192.3 kB / 387.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.02336, allocations: 43.75 kB / 387.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.02368, allocations: 249.7 kB / 388 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.02369, allocations: 4 kB / 388 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.02369, allocations: 7.984 kB / 388 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.0237, allocations: 0 / 388 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008064/0.0245, allocations: 0.7156 MB / 388.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.02451, allocations: 0 / 388.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.02468, allocations: 63.91 kB / 388.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.02468, allocations: 0 / 388.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.0247, allocations: 11.98 kB / 388.8 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.02471, allocations: 4 kB / 388.8 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.02471, allocations: 3.938 kB / 388.8 MB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.02514, allocations: 495.8 kB / 389.3 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.02518, allocations: 31.77 kB / 389.4 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.02521, allocations: 8 kB / 389.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.02529, allocations: 11.98 kB / 389.4 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.02533, allocations: 19.97 kB / 389.4 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.02534, allocations: 15.92 kB / 389.4 MB, free: 6.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.02547, allocations: 223 kB / 389.6 MB, free: 6.145 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02547, allocations: 0 / 389.6 MB, free: 6.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002922/0.02576, allocations: 96 kB / 389.7 MB, free: 6.051 MB / 362.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.0001102/0.02587, allocations: 107.1 kB / 389.8 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003258/0.0262, allocations: 245.7 kB / 390.1 MB, free: 5.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.0262, allocations: 3.938 kB / 390.1 MB, free: 5.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.02631, allocations: 112.1 kB / 390.2 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.02667, allocations: 72.31 kB / 390.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.02806, allocations: 0.8474 MB / 391.1 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.388e-05/0.02816, allocations: 137.2 kB / 391.2 MB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.02835, allocations: 115.1 kB / 391.3 MB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.02842, allocations: 28.5 kB / 391.4 MB, free: 4.32 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02842, allocations: 4 kB / 391.4 MB, free: 4.316 MB / 362.7 MB Notification: Performance of Templates: time 0.005935/0.03435, allocations: 3.269 MB / 394.6 MB, free: 1.113 MB / 362.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: 3.100878182798624]