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.0006763/0.0006763, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009921/0.001668, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006942/0.0006942, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009084/0.001603, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.8911/0.8911, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0758/0.9669, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.1154/0.1154, allocations: 29.43 MB / 273.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1089/0.2243, allocations: 9.528 MB / 283.1 MB, free: 12.81 MB / 282.7 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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.731e-05, allocations: 4.344 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005381/0.005399, allocations: 6.952 MB / 291.4 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.008122, allocations: 3.019 MB / 294.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.008284, allocations: 17.19 kB / 294.4 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.009407, allocations: 0.9168 MB / 295.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.01054, allocations: 1.162 MB / 296.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.01091, allocations: 306.7 kB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008434/0.01176, allocations: 1.462 MB / 298.3 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.01211, allocations: 378.3 kB / 298.6 MB, free: 452 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008794/0.01299, allocations: 0.7922 MB / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004791/0.01347, allocations: 0.6074 MB / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.01351, allocations: 36 kB / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006562/0.01417, allocations: 0.7669 MB / 300.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.01434, allocations: 291.3 kB / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.01446, allocations: 139.8 kB / 301.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.01502, allocations: 0.6891 MB / 301.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.01503, allocations: 0 / 301.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01504, allocations: 0 / 301.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.01504, allocations: 0 / 301.9 MB, free: 13.12 MB / 298.7 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.0006914/0.01574, allocations: 0.8505 MB / 302.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.556e-05/0.01576, allocations: 16.03 kB / 302.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.01685, allocations: 404.4 kB / 303.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.01715, allocations: 256.5 kB / 303.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.01717, allocations: 33.36 kB / 303.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.01721, allocations: 44.34 kB / 303.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.01754, allocations: 408.1 kB / 303.9 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.01755, allocations: 8.125 kB / 303.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.01757, allocations: 20.36 kB / 304 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.01761, allocations: 44.5 kB / 304 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.01775, allocations: 136.3 kB / 304.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.01909, allocations: 2.147 MB / 306.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.01937, allocations: 275.5 kB / 306.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.917e-05/0.01945, allocations: 88.59 kB / 306.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.01946, allocations: 11.94 kB / 306.6 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.01948, allocations: 42.55 kB / 306.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.353e-06/0.01948, allocations: 0 / 306.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006606/0.02014, allocations: 388.9 kB / 307.1 MB, free: 7.707 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.02018, allocations: 106.8 kB / 307.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.02033, allocations: 282.7 kB / 307.4 MB, free: 7.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.02034, allocations: 29.7 kB / 307.5 MB, free: 7.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.02042, allocations: 236.7 kB / 307.7 MB, free: 7.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.788e-05/0.02048, allocations: 122.9 kB / 307.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.02055, allocations: 74.16 kB / 307.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.02062, allocations: 346.8 kB / 308.2 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.431e-05/0.02067, allocations: 44.97 kB / 308.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.02077, allocations: 188.1 kB / 308.5 MB, free: 6.172 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.02096, allocations: 287.8 kB / 308.7 MB, free: 5.824 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.02096, allocations: 8 kB / 308.8 MB, free: 5.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003058/0.02127, allocations: 326.1 kB / 309.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.02128, allocations: 4 kB / 309.1 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.02129, allocations: 11.94 kB / 309.1 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/0.02146, allocations: 85.09 kB / 309.2 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.02164, allocations: 87.89 kB / 309.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.02269, allocations: 1.849 MB / 311.1 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.02279, allocations: 51.62 kB / 311.2 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.02281, allocations: 16 kB / 311.2 MB, free: 3.297 MB / 298.7 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 8.379e-05/0.02289, allocations: 136.5 kB / 311.3 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.02293, allocations: 35.91 kB / 311.3 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.02297, allocations: 47.14 kB / 311.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.02298, allocations: 4 kB / 311.4 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.02298, allocations: 8.031 kB / 311.4 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.02299, allocations: 3.984 kB / 311.4 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.02345, allocations: 0.5663 MB / 312 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.02345, allocations: 4 kB / 312 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.095e-05/0.02354, allocations: 43.91 kB / 312 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.02357, allocations: 43.69 kB / 312.1 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.02369, allocations: 79.69 kB / 312.1 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.0237, allocations: 11.94 kB / 312.1 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.02487, allocations: 1.829 MB / 314 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02487, allocations: 0 / 314 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.02515, allocations: 0.503 MB / 314.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.02517, allocations: 11.94 kB / 314.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.02526, allocations: 4 kB / 314.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.02529, allocations: 31.89 kB / 314.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.0253, allocations: 4 kB / 314.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.153e-05/0.02536, allocations: 96.61 kB / 314.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.02536, allocations: 0 / 314.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.0257, allocations: 163.8 kB / 314.8 MB, free: 15.49 MB / 314.7 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 6.856e-05/0.02576, allocations: 84.42 kB / 314.9 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.02611, allocations: 377.8 kB / 315.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.02612, allocations: 8.094 kB / 315.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.02634, allocations: 336.4 kB / 315.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.02666, allocations: 243.4 kB / 315.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/0.03394, allocations: 0.741 MB / 316.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.732e-05/0.03403, allocations: 161.7 kB / 316.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.812e-05/0.03409, allocations: 26.97 kB / 316.7 MB, free: 13.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.03416, allocations: 83.36 kB / 316.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03416, allocations: 0 / 316.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of Templates: time 0.005453/0.03961, allocations: 3.955 MB / 320.8 MB, free: 9.41 MB / 314.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5915614729747176]