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.001411/0.001411, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001725/0.001725, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 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 1.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.1866/0.1866, allocations: 38.56 MB / 352.5 MB, free: 12.32 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 67.91 kB / 493 MB, free: 4.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3857, allocations: 62.47 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.006777/0.3925, allocations: 4.326 MB / 0.5466 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.3957, allocations: 1.383 MB / 0.548 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.396, allocations: 25 kB / 0.548 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.3973, allocations: 371 kB / 0.5484 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007023/0.398, allocations: 225.9 kB / 0.5486 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009251/0.3989, allocations: 250.6 kB / 0.5488 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000795/0.3997, allocations: 0.5256 MB / 0.5493 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.4002, allocations: 223.3 kB / 0.5495 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004857/0.4006, allocations: 261.5 kB / 0.5498 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004936/0.4011, allocations: 308.5 kB / 0.5501 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.4012, allocations: 31.09 kB / 0.5501 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.4015, allocations: 140.6 kB / 0.5503 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.4018, allocations: 232.7 kB / 0.5505 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.402, allocations: 192.8 kB / 0.5507 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007958/0.4028, allocations: 0.588 MB / 0.5512 GB, free: 9.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4028, allocations: 0 / 0.5512 GB, free: 9.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4028, allocations: 1.219 kB / 0.5512 GB, free: 9.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.4029, allocations: 0 / 0.5512 GB, free: 9.945 MB / 398.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.001576/0.4044, allocations: 0.6737 MB / 0.5519 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.4045, allocations: 12.8 kB / 0.5519 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007721/0.4053, allocations: 122.4 kB / 0.552 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008256/0.4061, allocations: 346 kB / 0.5524 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.4061, allocations: 29.59 kB / 0.5524 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.4063, allocations: 53.5 kB / 0.5524 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.4073, allocations: 0.6244 MB / 0.553 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.4073, allocations: 6.219 kB / 0.553 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.4074, allocations: 16.53 kB / 0.5531 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.4075, allocations: 33.14 kB / 0.5531 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007634/0.4083, allocations: 472.8 kB / 0.5535 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.4121, allocations: 2.677 MB / 0.5562 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.4126, allocations: 216.9 kB / 0.5564 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.4129, allocations: 133.7 kB / 0.5565 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.4129, allocations: 7.984 kB / 0.5565 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.413, allocations: 42.5 kB / 0.5565 GB, free: 5.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 3.496e-06/0.413, allocations: 4 kB / 0.5565 GB, free: 5.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.002485/0.4155, allocations: 0.8962 MB / 0.5574 GB, free: 4.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/0.4156, allocations: 81.11 kB / 0.5575 GB, free: 4.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.4161, allocations: 328.3 kB / 0.5578 GB, free: 4.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.4161, allocations: 29.7 kB / 0.5578 GB, free: 4.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.4164, allocations: 283.9 kB / 0.5581 GB, free: 3.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.4166, allocations: 107.1 kB / 0.5582 GB, free: 3.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.4168, allocations: 98.14 kB / 0.5583 GB, free: 3.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002613/0.417, allocations: 338.8 kB / 0.5586 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.4174, allocations: 149 kB / 0.5588 GB, free: 3.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005963/0.418, allocations: 347.1 kB / 0.5591 GB, free: 2.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.4191, allocations: 0.5206 MB / 0.5596 GB, free: 2.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.4191, allocations: 4 kB / 0.5596 GB, free: 2.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001296/0.4204, allocations: 0.5329 MB / 0.5601 GB, free: 1.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.4204, allocations: 8 kB / 0.5601 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.4204, allocations: 12.06 kB / 0.5602 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/0.4205, allocations: 8 kB / 0.5602 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.4211, allocations: 115.8 kB / 0.5603 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.823e-05/0.4212, allocations: 19.92 kB / 0.5603 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.4216, allocations: 23.98 kB / 0.5603 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.4217, allocations: 24 kB / 0.5603 GB, free: 1.309 MB / 398.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.0004216/0.4221, allocations: 217.5 kB / 0.5605 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.4222, allocations: 31.81 kB / 0.5606 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009482/0.4231, allocations: 361.6 kB / 0.5609 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.4231, allocations: 8 kB / 0.5609 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4231, allocations: 0 / 0.5609 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4231, allocations: 0 / 0.5609 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.4253, allocations: 0.7662 MB / 0.5617 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/0.4253, allocations: 4 kB / 0.5617 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.4258, allocations: 63.89 kB / 0.5617 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.4258, allocations: 4 kB / 0.5617 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.4258, allocations: 8 kB / 0.5618 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.4259, allocations: 12.09 kB / 0.5618 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.4259, allocations: 0 / 0.5618 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.4271, allocations: 0.5858 MB / 0.5623 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.4272, allocations: 31.7 kB / 0.5624 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.997e-05/0.4273, allocations: 16.03 kB / 0.5624 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.4276, allocations: 4 kB / 0.5624 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/0.4276, allocations: 27.89 kB / 0.5624 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.4277, allocations: 12 kB / 0.5624 GB, free: 15.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003804/0.4281, allocations: 211.1 kB / 0.5626 GB, free: 14.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4281, allocations: 0 / 0.5626 GB, free: 14.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009312/0.429, allocations: 96 kB / 0.5627 GB, free: 14.78 MB / 414.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.0001861/0.4292, allocations: 107.2 kB / 0.5628 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009743/0.4302, allocations: 357.1 kB / 0.5632 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4302, allocations: 0 / 0.5632 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.4305, allocations: 136.9 kB / 0.5633 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000799/0.4313, allocations: 67.73 kB / 0.5634 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.4342, allocations: 1.003 MB / 0.5643 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.4347, allocations: 257.7 kB / 0.5646 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005593/0.4352, allocations: 131.1 kB / 0.5647 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.4354, allocations: 31.44 kB / 0.5647 GB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 1.824e-06/0.4354, allocations: 0 / 0.5647 GB, free: 12.64 MB / 414.1 MB Notification: Performance of Templates: time 0.01337/0.4488, allocations: 3.764 MB / 0.5684 GB, free: 8.926 MB / 414.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.330028675496578] Failed to read output from testmodel.py, exit status != 0: 0.4605694990605116 0.48662585599999997 0.07906700200000001 Calling exit ...