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.001309/0.001309, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001469/0.001469, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.1831/0.1831, allocations: 38.53 MB / 353.2 MB, free: 12.55 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.00204/0.00204, allocations: 71.89 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.313, allocations: 62.47 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.008887/0.3219, allocations: 7.745 MB / 0.5508 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00613/0.328, allocations: 4.254 MB / 0.555 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/0.3285, allocations: 16.09 kB / 0.555 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.3311, allocations: 1.075 MB / 0.556 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.3338, allocations: 1.106 MB / 0.5571 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009065/0.3347, allocations: 308.6 kB / 0.5574 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.3367, allocations: 1.365 MB / 0.5587 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008682/0.3375, allocations: 405.1 kB / 0.5591 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.3388, allocations: 0.5757 MB / 0.5597 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.3398, allocations: 0.65 MB / 0.5603 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.646e-05/0.3399, allocations: 32 kB / 0.5603 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.3417, allocations: 1.025 MB / 0.5613 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.342, allocations: 283.1 kB / 0.5616 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.3423, allocations: 238.9 kB / 0.5618 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.3436, allocations: 0.8213 MB / 0.5626 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3436, allocations: 4 kB / 0.5626 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3436, allocations: 0 / 0.5626 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.3436, allocations: 0 / 0.5626 GB, free: 0.5234 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.001174/0.3448, allocations: 0.7453 MB / 0.5634 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3449, allocations: 11.98 kB / 0.5634 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.3463, allocations: 136.5 kB / 0.5635 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.3469, allocations: 280.7 kB / 0.5638 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.3469, allocations: 37.36 kB / 0.5638 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.347, allocations: 40.3 kB / 0.5639 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008433/0.3478, allocations: 0.5869 MB / 0.5644 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3478, allocations: 3.938 kB / 0.5644 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.3479, allocations: 19.98 kB / 0.5645 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.233e-05/0.3479, allocations: 36.62 kB / 0.5645 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.3485, allocations: 386.1 kB / 0.5649 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.3512, allocations: 2.548 MB / 0.5673 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007345/0.352, allocations: 414.3 kB / 0.5677 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.3523, allocations: 190.6 kB / 0.5679 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3523, allocations: 4 kB / 0.5679 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.3524, allocations: 38.56 kB / 0.568 GB, free: 10.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.295e-06/0.3524, allocations: 4 kB / 0.568 GB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001885/0.3543, allocations: 0.6859 MB / 0.5686 GB, free: 10.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.3543, allocations: 106.8 kB / 0.5687 GB, free: 9.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.3547, allocations: 320.4 kB / 0.569 GB, free: 9.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.3547, allocations: 29.7 kB / 0.5691 GB, free: 9.605 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.3549, allocations: 252.4 kB / 0.5693 GB, free: 9.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.3551, allocations: 126.9 kB / 0.5694 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.3552, allocations: 86.14 kB / 0.5695 GB, free: 9.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.3554, allocations: 350.8 kB / 0.5699 GB, free: 8.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.3556, allocations: 124.8 kB / 0.57 GB, free: 8.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.3559, allocations: 279.5 kB / 0.5702 GB, free: 8.324 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.3564, allocations: 460 kB / 0.5707 GB, free: 7.809 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3564, allocations: 4 kB / 0.5707 GB, free: 7.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008471/0.3573, allocations: 0.5542 MB / 0.5712 GB, free: 7.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3573, allocations: 4 kB / 0.5712 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3573, allocations: 8 kB / 0.5712 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.3577, allocations: 125.3 kB / 0.5714 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.3579, allocations: 79.84 kB / 0.5714 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.3606, allocations: 2.436 MB / 0.5738 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.3608, allocations: 51.61 kB / 0.5739 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.3609, allocations: 24.16 kB / 0.5739 GB, free: 4.391 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.0002379/0.3611, allocations: 205.5 kB / 0.5741 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.381e-05/0.3612, allocations: 35.77 kB / 0.5741 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.35e-05/0.3613, allocations: 51.94 kB / 0.5742 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3613, allocations: 4 kB / 0.5742 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3613, allocations: 4 kB / 0.5742 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3613, allocations: 7.922 kB / 0.5742 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.3626, allocations: 0.91 MB / 0.5751 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3626, allocations: 0 / 0.5751 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.3628, allocations: 39.97 kB / 0.5751 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/0.363, allocations: 109 kB / 0.5752 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.363, allocations: 4 kB / 0.5752 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.3656, allocations: 2.452 MB / 0.5776 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3656, allocations: 3.938 kB / 0.5776 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007887/0.3664, allocations: 0.6345 MB / 0.5782 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.672e-05/0.3665, allocations: 39.69 kB / 0.5783 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.3665, allocations: 11.94 kB / 0.5783 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.3667, allocations: 8 kB / 0.5783 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.3668, allocations: 23.95 kB / 0.5783 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.3668, allocations: 12 kB / 0.5783 GB, free: 15.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.367, allocations: 219 kB / 0.5785 GB, free: 15.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.367, allocations: 0 / 0.5785 GB, free: 15.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006573/0.3677, allocations: 163.8 kB / 0.5787 GB, free: 15.24 MB / 430.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.0001233/0.3678, allocations: 108.2 kB / 0.5788 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008476/0.3686, allocations: 0.5028 MB / 0.5793 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.3686, allocations: 0 / 0.5793 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.3691, allocations: 330.3 kB / 0.5796 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.3696, allocations: 57.78 kB / 0.5796 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3709, allocations: 0.8977 MB / 0.5805 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.3715, allocations: 0.8746 MB / 0.5814 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.3715, allocations: 27.53 kB / 0.5814 GB, free: 12.35 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3715, allocations: 3.938 kB / 0.5814 GB, free: 12.35 MB / 430.1 MB Notification: Performance of Templates: time 0.008955/0.3805, allocations: 6.178 MB / 0.5874 GB, free: 6.16 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.859928868943825] Failed to read output from testmodel.py, exit status != 0: 0.38937271595932543 0.403103629 0.056386892 Calling exit ...