Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001928/0.001928, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002619/0.002619, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2582/0.2582, allocations: 38.56 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 179] 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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") [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.00211/0.00211, allocations: 63.91 kB / 493 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3252, allocations: 62.46 MB / 0.5424 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006482/0.3317, allocations: 4.475 MB / 0.5468 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.3348, allocations: 1.261 MB / 0.548 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.335, allocations: 16.81 kB / 0.548 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.3365, allocations: 394.7 kB / 0.5484 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006782/0.3372, allocations: 253.7 kB / 0.5487 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.3377, allocations: 177.2 kB / 0.5488 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007011/0.3384, allocations: 0.5581 MB / 0.5494 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004523/0.3389, allocations: 226.1 kB / 0.5496 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004789/0.3394, allocations: 277.3 kB / 0.5499 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004963/0.3399, allocations: 279.9 kB / 0.5501 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.3399, allocations: 29.56 kB / 0.5501 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.3402, allocations: 126.8 kB / 0.5503 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.3405, allocations: 204.9 kB / 0.5505 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.3407, allocations: 179.6 kB / 0.5506 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007985/0.3415, allocations: 0.5183 MB / 0.5511 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3415, allocations: 0 / 0.5511 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3415, allocations: 0 / 0.5511 GB, free: 9.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3415, allocations: 1.375 kB / 0.5511 GB, free: 9.98 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001281/0.3428, allocations: 0.6417 MB / 0.5518 GB, free: 9.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3428, allocations: 12.52 kB / 0.5518 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005905/0.3434, allocations: 84.12 kB / 0.5519 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007558/0.3442, allocations: 348.9 kB / 0.5522 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.3442, allocations: 27.92 kB / 0.5522 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.3444, allocations: 51.27 kB / 0.5523 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007868/0.3451, allocations: 476.9 kB / 0.5527 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.3452, allocations: 1.25 kB / 0.5527 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.3452, allocations: 15.67 kB / 0.5527 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.3453, allocations: 32.52 kB / 0.5528 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006003/0.3459, allocations: 351.6 kB / 0.5531 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.3483, allocations: 1.413 MB / 0.5545 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.3486, allocations: 144.4 kB / 0.5546 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3488, allocations: 105.6 kB / 0.5547 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3488, allocations: 5.406 kB / 0.5547 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.3488, allocations: 41.7 kB / 0.5548 GB, free: 7.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.3488, allocations: 0 / 0.5548 GB, free: 7.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001572/0.3504, allocations: 0.7414 MB / 0.5555 GB, free: 6.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.3505, allocations: 89.17 kB / 0.5556 GB, free: 6.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.3508, allocations: 296.5 kB / 0.5559 GB, free: 6.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.3508, allocations: 25.7 kB / 0.5559 GB, free: 6.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.351, allocations: 259.9 kB / 0.5561 GB, free: 5.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.3511, allocations: 71.45 kB / 0.5562 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3512, allocations: 57.94 kB / 0.5563 GB, free: 5.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3514, allocations: 338.8 kB / 0.5566 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.3515, allocations: 100.2 kB / 0.5567 GB, free: 5.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.3518, allocations: 201.2 kB / 0.5569 GB, free: 5.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.3522, allocations: 334.1 kB / 0.5572 GB, free: 4.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3522, allocations: 8 kB / 0.5572 GB, free: 4.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009199/0.3531, allocations: 463.6 kB / 0.5576 GB, free: 4.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3532, allocations: 8.438 kB / 0.5576 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006242/0.3538, allocations: 304.8 kB / 0.5579 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005012/0.3543, allocations: 136.7 kB / 0.5581 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.3545, allocations: 55.84 kB / 0.5581 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/0.3576, allocations: 2.293 MB / 0.5604 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.3578, allocations: 12 kB / 0.5604 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.3578, allocations: 15.94 kB / 0.5604 GB, free: 1.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002448/0.3581, allocations: 193.7 kB / 0.5606 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.3581, allocations: 31.75 kB / 0.5606 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.3586, allocations: 263.9 kB / 0.5609 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3586, allocations: 0 / 0.5609 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3587, allocations: 7.922 kB / 0.5609 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3587, allocations: 4 kB / 0.5609 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.3599, allocations: 0.6289 MB / 0.5615 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3599, allocations: 4.062 kB / 0.5615 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.3601, allocations: 43.92 kB / 0.5615 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.3602, allocations: 32.83 kB / 0.5616 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.3602, allocations: 8 kB / 0.5616 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.3602, allocations: 3.984 kB / 0.5616 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3602, allocations: 4 kB / 0.5616 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006188/0.3608, allocations: 441.3 kB / 0.562 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.3609, allocations: 35.78 kB / 0.562 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.3609, allocations: 0 / 0.562 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.3611, allocations: 11.98 kB / 0.562 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.3611, allocations: 11.98 kB / 0.562 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3611, allocations: 4 kB / 0.5621 GB, free: 15.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000294/0.3614, allocations: 207.1 kB / 0.5622 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3614, allocations: 0 / 0.5622 GB, free: 15.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004914/0.3619, allocations: 91.94 kB / 0.5623 GB, free: 15.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001247/0.362, allocations: 103.2 kB / 0.5624 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000798/0.3628, allocations: 405 kB / 0.5628 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3628, allocations: 0.875 kB / 0.5628 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.363, allocations: 104.9 kB / 0.5629 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.3635, allocations: 52.77 kB / 0.563 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.365, allocations: 0.8822 MB / 0.5638 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.3653, allocations: 244.9 kB / 0.5641 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.3655, allocations: 62.91 kB / 0.5641 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.3656, allocations: 23.44 kB / 0.5642 GB, free: 13.3 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3656, allocations: 4 kB / 0.5642 GB, free: 13.3 MB / 414.1 MB Notification: Performance of Templates: time 0.009069/0.3746, allocations: 4.129 MB / 0.5682 GB, free: 9.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.242827598005533] Failed to read output from testmodel.py, exit status != 0: 0.3838351462036371 0.39848006700000005 0.053850945000000004 Calling exit ...