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.001486/0.001486, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.002089/0.002089, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.1762/0.1762, allocations: 38.52 MB / 353.2 MB, free: 12.54 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.001989/0.001989, allocations: 75.89 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2954, allocations: 62.46 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.005955/0.3014, allocations: 4.574 MB / 0.5477 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.3039, allocations: 1.501 MB / 0.5491 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.3041, allocations: 21.31 kB / 0.5492 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.3051, allocations: 390.3 kB / 0.5495 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004998/0.3056, allocations: 225.2 kB / 0.5497 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006799/0.3063, allocations: 253.4 kB / 0.55 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000608/0.3069, allocations: 0.5344 MB / 0.5505 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.3073, allocations: 222.8 kB / 0.5507 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.3077, allocations: 257.4 kB / 0.551 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004362/0.3081, allocations: 321.5 kB / 0.5513 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.3081, allocations: 30.78 kB / 0.5513 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.3084, allocations: 162.4 kB / 0.5515 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.3087, allocations: 228.5 kB / 0.5517 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.3089, allocations: 240.4 kB / 0.5519 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000725/0.3096, allocations: 0.5743 MB / 0.5525 GB, free: 9.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3096, allocations: 0 / 0.5525 GB, free: 9.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3096, allocations: 1.062 kB / 0.5525 GB, free: 9.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.3096, allocations: 0 / 0.5525 GB, free: 9.648 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.001434/0.3111, allocations: 0.6659 MB / 0.5531 GB, free: 9.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3111, allocations: 17.33 kB / 0.5531 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006812/0.3118, allocations: 122.8 kB / 0.5533 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006675/0.3125, allocations: 344.6 kB / 0.5536 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.3125, allocations: 29.53 kB / 0.5536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.3126, allocations: 50.25 kB / 0.5537 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008916/0.3135, allocations: 0.6266 MB / 0.5543 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.3135, allocations: 5.156 kB / 0.5543 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.3136, allocations: 21.67 kB / 0.5543 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3137, allocations: 28.52 kB / 0.5543 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/0.3144, allocations: 480.5 kB / 0.5548 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.3177, allocations: 2.823 MB / 0.5575 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.3181, allocations: 219 kB / 0.5577 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.3183, allocations: 137.7 kB / 0.5579 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.3184, allocations: 8 kB / 0.5579 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3184, allocations: 42.5 kB / 0.5579 GB, free: 5.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 3.687e-06/0.3184, allocations: 3.984 kB / 0.5579 GB, free: 5.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001561/0.32, allocations: 0.8992 MB / 0.5588 GB, free: 4.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.32, allocations: 81.11 kB / 0.5589 GB, free: 4.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.3204, allocations: 332.5 kB / 0.5592 GB, free: 3.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3204, allocations: 29.7 kB / 0.5592 GB, free: 3.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.3206, allocations: 292 kB / 0.5595 GB, free: 3.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.221e-05/0.3207, allocations: 103.1 kB / 0.5596 GB, free: 3.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.3208, allocations: 94.14 kB / 0.5597 GB, free: 3.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.321, allocations: 350.7 kB / 0.56 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.3212, allocations: 144.9 kB / 0.5602 GB, free: 2.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.3216, allocations: 347.1 kB / 0.5605 GB, free: 2.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.3222, allocations: 0.513 MB / 0.561 GB, free: 1.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3222, allocations: 0 / 0.561 GB, free: 1.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008018/0.323, allocations: 0.5363 MB / 0.5615 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.323, allocations: 8 kB / 0.5615 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.323, allocations: 4 kB / 0.5615 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.3231, allocations: 12 kB / 0.5615 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.3235, allocations: 119.8 kB / 0.5617 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.3235, allocations: 12.5 kB / 0.5617 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.3237, allocations: 35.97 kB / 0.5617 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.3238, allocations: 24 kB / 0.5617 GB, free: 0.9062 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.0002426/0.324, allocations: 210 kB / 0.5619 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.3241, allocations: 35.8 kB / 0.562 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.3247, allocations: 365.7 kB / 0.5623 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.3247, allocations: 7.922 kB / 0.5623 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3247, allocations: 4 kB / 0.5623 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3247, allocations: 4 kB / 0.5623 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.3262, allocations: 0.8399 MB / 0.5632 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3262, allocations: 4 kB / 0.5632 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.3266, allocations: 67.89 kB / 0.5632 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.3266, allocations: 4 kB / 0.5632 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.3266, allocations: 8 kB / 0.5632 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.3266, allocations: 12.03 kB / 0.5632 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3266, allocations: 3.938 kB / 0.5632 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/0.3274, allocations: 0.5742 MB / 0.5638 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.3274, allocations: 35.75 kB / 0.5638 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.3275, allocations: 16.03 kB / 0.5639 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.3277, allocations: 15.94 kB / 0.5639 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.3277, allocations: 23.89 kB / 0.5639 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.3277, allocations: 12 kB / 0.5639 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.328, allocations: 219 kB / 0.5641 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.328, allocations: 0 / 0.5641 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004636/0.3284, allocations: 96 kB / 0.5642 GB, free: 14.27 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.0001202/0.3285, allocations: 103.2 kB / 0.5643 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005593/0.3291, allocations: 348.9 kB / 0.5646 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3291, allocations: 0 / 0.5646 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.3293, allocations: 133.3 kB / 0.5648 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.3298, allocations: 75.11 kB / 0.5648 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.3315, allocations: 1.058 MB / 0.5659 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.332, allocations: 0.8582 MB / 0.5667 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3321, allocations: 35.44 kB / 0.5667 GB, free: 11.59 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3321, allocations: 0 / 0.5667 GB, free: 11.59 MB / 414.1 MB Notification: Performance of Templates: time 0.008181/0.3403, allocations: 5.043 MB / 0.5717 GB, free: 6.547 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: 8.044728566892445] Failed to read output from testmodel.py, exit status != 0: 0.34891669801436365 0.362908196 0.050224524000000006 Calling exit ...