Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001368/0.001368, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.001527/0.001527, allocations: 213.1 kB / 24.48 MB, free: 3.93 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.442/1.442, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.1904/0.1904, allocations: 38.56 MB / 353.2 MB, free: 12.27 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.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [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.002141/0.002141, allocations: 78.39 kB / 493.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3024, allocations: 62.46 MB / 0.5432 GB, free: 384 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009072/0.3115, allocations: 7.161 MB / 0.5502 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006252/0.3177, allocations: 3.906 MB / 0.554 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000657/0.3184, allocations: 25 kB / 0.554 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.3214, allocations: 1.014 MB / 0.555 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.3243, allocations: 1.112 MB / 0.5561 GB, free: 6.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.3253, allocations: 308.7 kB / 0.5564 GB, free: 6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.3273, allocations: 1.371 MB / 0.5577 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008916/0.3282, allocations: 384.1 kB / 0.5581 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.3295, allocations: 0.5912 MB / 0.5587 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.3308, allocations: 0.6266 MB / 0.5593 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.3309, allocations: 36 kB / 0.5593 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.3328, allocations: 0.7827 MB / 0.5601 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004753/0.3333, allocations: 287.1 kB / 0.5604 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.3337, allocations: 203.1 kB / 0.5605 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.3356, allocations: 0.8252 MB / 0.5614 GB, free: 1.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3356, allocations: 4 kB / 0.5614 GB, free: 1.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3356, allocations: 0 / 0.5614 GB, free: 1.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.3356, allocations: 0 / 0.5614 GB, free: 1.5 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001542/0.3371, allocations: 0.7352 MB / 0.5621 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.3372, allocations: 15.98 kB / 0.5621 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.3389, allocations: 136.5 kB / 0.5622 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.3395, allocations: 280.8 kB / 0.5625 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.3396, allocations: 37.3 kB / 0.5625 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.3396, allocations: 44.36 kB / 0.5626 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/0.3406, allocations: 0.5811 MB / 0.5631 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.3406, allocations: 7.938 kB / 0.5631 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.3407, allocations: 15.98 kB / 0.5632 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.347e-05/0.3407, allocations: 40.61 kB / 0.5632 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.3414, allocations: 378.1 kB / 0.5636 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.3442, allocations: 2.408 MB / 0.5659 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007158/0.345, allocations: 411.7 kB / 0.5663 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.3453, allocations: 194.5 kB / 0.5665 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.3453, allocations: 4 kB / 0.5665 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.3453, allocations: 38.56 kB / 0.5665 GB, free: 11.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.544e-06/0.3453, allocations: 3.938 kB / 0.5665 GB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001771/0.3471, allocations: 0.6742 MB / 0.5672 GB, free: 11.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/0.3472, allocations: 110.8 kB / 0.5673 GB, free: 11.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.3475, allocations: 308.5 kB / 0.5676 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.3476, allocations: 29.7 kB / 0.5676 GB, free: 10.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.3478, allocations: 252.3 kB / 0.5679 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.3479, allocations: 130.9 kB / 0.568 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.3481, allocations: 78.09 kB / 0.5681 GB, free: 10.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3483, allocations: 354.7 kB / 0.5684 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.3485, allocations: 128.9 kB / 0.5685 GB, free: 9.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.3488, allocations: 273.2 kB / 0.5688 GB, free: 9.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/0.3494, allocations: 460.1 kB / 0.5692 GB, free: 8.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3495, allocations: 4 kB / 0.5692 GB, free: 8.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009872/0.3504, allocations: 0.5505 MB / 0.5698 GB, free: 8.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.3505, allocations: 8 kB / 0.5698 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3505, allocations: 4 kB / 0.5698 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003845/0.3509, allocations: 128.7 kB / 0.5699 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.3511, allocations: 71.84 kB / 0.57 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.3542, allocations: 2.348 MB / 0.5723 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.3544, allocations: 39.73 kB / 0.5723 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.3545, allocations: 12 kB / 0.5723 GB, free: 5.695 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002824/0.3547, allocations: 217.6 kB / 0.5725 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/0.3548, allocations: 35.77 kB / 0.5725 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.65e-05/0.3549, allocations: 43.14 kB / 0.5726 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.3549, allocations: 4 kB / 0.5726 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.3549, allocations: 4 kB / 0.5726 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3549, allocations: 3.984 kB / 0.5726 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.3564, allocations: 0.8326 MB / 0.5734 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.3564, allocations: 8 kB / 0.5734 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.3566, allocations: 31.98 kB / 0.5734 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/0.3568, allocations: 109.3 kB / 0.5736 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.3569, allocations: 8 kB / 0.5736 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/0.3599, allocations: 2.355 MB / 0.5759 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3599, allocations: 0 / 0.5759 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008605/0.3607, allocations: 0.6267 MB / 0.5765 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.3608, allocations: 35.75 kB / 0.5765 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.3609, allocations: 7.984 kB / 0.5765 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.3611, allocations: 8 kB / 0.5765 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.3611, allocations: 27.89 kB / 0.5765 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3611, allocations: 12 kB / 0.5766 GB, free: 1.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.3614, allocations: 203.1 kB / 0.5768 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3614, allocations: 0 / 0.5768 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007093/0.3621, allocations: 159.8 kB / 0.5769 GB, free: 0.793 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001707/0.3622, allocations: 107.2 kB / 0.577 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000967/0.3632, allocations: 0.5108 MB / 0.5775 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3632, allocations: 0 / 0.5775 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005483/0.3638, allocations: 322.4 kB / 0.5778 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.3643, allocations: 53.06 kB / 0.5779 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.3659, allocations: 0.8898 MB / 0.5787 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3663, allocations: 283.8 kB / 0.579 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/0.3663, allocations: 23.44 kB / 0.579 GB, free: 14.52 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3663, allocations: 0 / 0.579 GB, free: 14.52 MB / 430.1 MB Notification: Performance of Templates: time 0.01075/0.3771, allocations: 6.262 MB / 0.5851 GB, free: 8.242 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.996928982902318] Failed to read output from testmodel.py, exit status != 0: 0.38665570598095655 0.40339554299999997 0.06417497300000001 Calling exit ...