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.001997/0.001997, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002202/0.002202, allocations: 164.5 kB / 24.49 MB, free: 3.453 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.528/1.528, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.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.1813/0.1813, allocations: 29.43 MB / 290.7 MB, free: 3.301 MB / 270.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.002374/0.002374, allocations: 67.89 kB / 431.2 MB, free: 3.23 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3444, allocations: 62.44 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007556/0.3519, allocations: 7.171 MB / 0.4891 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004544/0.3565, allocations: 3.906 MB / 0.4929 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004567/0.3569, allocations: 16.72 kB / 0.4929 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.3592, allocations: 1.017 MB / 0.4939 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.3614, allocations: 1.11 MB / 0.495 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007439/0.3621, allocations: 307.5 kB / 0.4953 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.3634, allocations: 1.365 MB / 0.4966 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005833/0.364, allocations: 400.5 kB / 0.497 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008113/0.3648, allocations: 0.5751 MB / 0.4976 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006968/0.3655, allocations: 0.6305 MB / 0.4982 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.3656, allocations: 33.94 kB / 0.4982 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.3668, allocations: 0.7956 MB / 0.499 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.367, allocations: 285.4 kB / 0.4993 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.3672, allocations: 208.9 kB / 0.4995 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009992/0.3682, allocations: 0.8193 MB / 0.5003 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3683, allocations: 0 / 0.5003 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3683, allocations: 3.375 kB / 0.5003 GB, free: 27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.3683, allocations: 0 / 0.5003 GB, free: 27 MB / 446.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.000945/0.3692, allocations: 0.7363 MB / 0.501 GB, free: 26.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3692, allocations: 17.83 kB / 0.501 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.3708, allocations: 133.9 kB / 0.5011 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.3713, allocations: 277.6 kB / 0.5014 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.3713, allocations: 33.3 kB / 0.5014 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.3713, allocations: 38.02 kB / 0.5015 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.372, allocations: 0.5861 MB / 0.502 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.372, allocations: 4 kB / 0.502 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.372, allocations: 23.11 kB / 0.5021 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/0.3721, allocations: 30.61 kB / 0.5021 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.3725, allocations: 387.5 kB / 0.5025 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.3743, allocations: 2.405 MB / 0.5048 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.3749, allocations: 403.9 kB / 0.5052 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.3752, allocations: 198.2 kB / 0.5054 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3752, allocations: 10.81 kB / 0.5054 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.3752, allocations: 41.5 kB / 0.5054 GB, free: 23.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.3752, allocations: 0 / 0.5054 GB, free: 23.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.001553/0.3768, allocations: 0.6763 MB / 0.5061 GB, free: 23.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3768, allocations: 108.5 kB / 0.5062 GB, free: 22.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.377, allocations: 308.8 kB / 0.5065 GB, free: 22.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3771, allocations: 29.7 kB / 0.5065 GB, free: 22.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3772, allocations: 261.3 kB / 0.5068 GB, free: 22.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.3772, allocations: 125.4 kB / 0.5069 GB, free: 22.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/0.3773, allocations: 83.11 kB / 0.507 GB, free: 22.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.188e-05/0.3774, allocations: 342.9 kB / 0.5073 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3776, allocations: 128 kB / 0.5074 GB, free: 22.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.3778, allocations: 283.8 kB / 0.5077 GB, free: 21.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.3782, allocations: 455 kB / 0.5081 GB, free: 21.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3782, allocations: 2.969 kB / 0.5081 GB, free: 21.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007158/0.3789, allocations: 0.5456 MB / 0.5086 GB, free: 21.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3789, allocations: 13.28 kB / 0.5087 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3789, allocations: 3.719 kB / 0.5087 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003266/0.3793, allocations: 131.5 kB / 0.5088 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.3795, allocations: 73.78 kB / 0.5089 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.3816, allocations: 2.353 MB / 0.5112 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.3818, allocations: 40.61 kB / 0.5112 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.3818, allocations: 18.72 kB / 0.5112 GB, free: 19.39 MB / 446.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.00019/0.382, allocations: 197.3 kB / 0.5114 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/0.3821, allocations: 34.92 kB / 0.5114 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.568e-05/0.3821, allocations: 51.95 kB / 0.5115 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3821, allocations: 2.938 kB / 0.5115 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.3822, allocations: 7.062 kB / 0.5115 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3822, allocations: 2.812 kB / 0.5115 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009778/0.3831, allocations: 0.8224 MB / 0.5123 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3831, allocations: 2.438 kB / 0.5123 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.3833, allocations: 39.92 kB / 0.5123 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002219/0.3835, allocations: 112.1 kB / 0.5124 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.3835, allocations: 11.31 kB / 0.5125 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.3853, allocations: 2.359 MB / 0.5148 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3853, allocations: 3.375 kB / 0.5148 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006755/0.386, allocations: 0.618 MB / 0.5154 GB, free: 16.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.3861, allocations: 36.88 kB / 0.5154 GB, free: 16.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.3861, allocations: 6.875 kB / 0.5154 GB, free: 16.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.3863, allocations: 14.67 kB / 0.5154 GB, free: 16.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.3864, allocations: 34.64 kB / 0.5155 GB, free: 16.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3864, allocations: 7.656 kB / 0.5155 GB, free: 16.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.3866, allocations: 203.1 kB / 0.5157 GB, free: 16.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3866, allocations: 0 / 0.5157 GB, free: 16.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007338/0.3873, allocations: 161 kB / 0.5158 GB, free: 16.28 MB / 446.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.0001222/0.3874, allocations: 97.19 kB / 0.5159 GB, free: 16.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009326/0.3884, allocations: 0.508 MB / 0.5164 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3884, allocations: 1.344 kB / 0.5164 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.3888, allocations: 331.9 kB / 0.5167 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.3894, allocations: 62.8 kB / 0.5168 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.3909, allocations: 0.8263 MB / 0.5176 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3913, allocations: 277.1 kB / 0.5179 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.3914, allocations: 69.69 kB / 0.5179 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.3915, allocations: 22.25 kB / 0.5179 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 1.733e-06/0.3915, allocations: 0 / 0.5179 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Templates: time 0.009556/0.4011, allocations: 3.626 MB / 0.5215 GB, free: 14.68 MB / 446.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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.069399214000441] Failed to read output from testmodel.py, exit status != 0: 0.4115229989401996 0.42644343399999995 0.05517297299999994 Calling exit ...