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.0009857/0.0009857, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001013/0.001013, allocations: 168.4 kB / 25.61 MB, free: 8.902 MB / 18.57 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.9639/0.9639, allocations: 177.1 MB / 206.1 MB, free: 4.492 MB / 186.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.1323/0.1323, allocations: 29.42 MB / 292 MB, free: 2.625 MB / 266.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.853e-06/1.853e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.715e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.004136/0.004153, allocations: 6.793 MB / 377.7 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.006741, allocations: 2.921 MB / 380.6 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.006981, allocations: 15.94 kB / 380.6 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000842/0.007823, allocations: 0.708 MB / 381.3 MB, free: 21.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.009152, allocations: 1.104 MB / 382.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.009635, allocations: 318.9 kB / 382.7 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008524/0.01049, allocations: 1.367 MB / 384.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004225/0.01091, allocations: 404 kB / 384.5 MB, free: 18.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005991/0.01151, allocations: 0.7124 MB / 385.2 MB, free: 17.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004369/0.01195, allocations: 0.5997 MB / 385.8 MB, free: 17.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.01198, allocations: 36 kB / 385.8 MB, free: 17.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007251/0.01271, allocations: 0.7708 MB / 386.6 MB, free: 16.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.01286, allocations: 311.2 kB / 386.9 MB, free: 16.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.01296, allocations: 183.6 kB / 387.1 MB, free: 16.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.01349, allocations: 0.7203 MB / 387.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01349, allocations: 0 / 387.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01349, allocations: 4 kB / 387.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.0135, allocations: 0 / 387.8 MB, free: 15.3 MB / 314.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.0005645/0.01406, allocations: 0.8506 MB / 388.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.01409, allocations: 12.03 kB / 388.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008663/0.01496, allocations: 319.1 kB / 389 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.01516, allocations: 271.3 kB / 389.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.01518, allocations: 37.36 kB / 389.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.01521, allocations: 44.3 kB / 389.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.01548, allocations: 454.3 kB / 389.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.01549, allocations: 192 / 389.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.01551, allocations: 24.36 kB / 389.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/0.01555, allocations: 44.55 kB / 389.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.01568, allocations: 148.2 kB / 390 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.01671, allocations: 3.1 MB / 393.1 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.01695, allocations: 248.2 kB / 393.3 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.446e-05/0.01703, allocations: 105.2 kB / 393.4 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.01704, allocations: 4 kB / 393.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.01706, allocations: 45.33 kB / 393.5 MB, free: 9.293 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.01706, allocations: 0 / 393.5 MB, free: 9.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007085/0.01777, allocations: 445.7 kB / 393.9 MB, free: 8.848 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.01779, allocations: 106.8 kB / 394 MB, free: 8.719 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.01792, allocations: 342 kB / 394.4 MB, free: 8.367 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.01793, allocations: 29.95 kB / 394.4 MB, free: 8.332 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.01801, allocations: 314.9 kB / 394.7 MB, free: 8.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.01805, allocations: 122.9 kB / 394.8 MB, free: 7.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.01812, allocations: 87.78 kB / 394.9 MB, free: 7.801 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.01817, allocations: 0.5234 MB / 395.4 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.01821, allocations: 40.97 kB / 395.5 MB, free: 7.227 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.603e-05/0.01831, allocations: 262.2 kB / 395.7 MB, free: 6.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.01849, allocations: 342.4 kB / 396.1 MB, free: 6.445 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01849, allocations: 0 / 396.1 MB, free: 6.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003116/0.0188, allocations: 378.5 kB / 396.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.01881, allocations: 8 kB / 396.4 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01882, allocations: 8 kB / 396.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.019, allocations: 91.98 kB / 396.5 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.01912, allocations: 79.84 kB / 396.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009494/0.02007, allocations: 2.414 MB / 399 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.647e-05/0.02016, allocations: 39.73 kB / 399.1 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.02018, allocations: 19.98 kB / 399.1 MB, free: 3.301 MB / 314.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 7.849e-05/0.02026, allocations: 188.4 kB / 399.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.0203, allocations: 55.73 kB / 399.3 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.02034, allocations: 47.14 kB / 399.4 MB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.02034, allocations: 4 kB / 399.4 MB, free: 3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.02034, allocations: 4 kB / 399.4 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.02035, allocations: 0 / 399.4 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.02077, allocations: 0.6026 MB / 400 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.02078, allocations: 4.062 kB / 400 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.02084, allocations: 31.98 kB / 400 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.02096, allocations: 79.56 kB / 400.1 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.02097, allocations: 8 kB / 400.1 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009234/0.02189, allocations: 2.416 MB / 402.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.02189, allocations: 0 / 402.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.02225, allocations: 0.56 MB / 403.1 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.02229, allocations: 39.73 kB / 403.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.02231, allocations: 11.94 kB / 403.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.374e-05/0.0224, allocations: 4 kB / 403.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.02244, allocations: 23.95 kB / 403.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.02245, allocations: 8 kB / 403.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.235e-05/0.02254, allocations: 210.9 kB / 403.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02254, allocations: 4 kB / 403.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003743/0.02291, allocations: 163.8 kB / 403.5 MB, free: 14.65 MB / 330.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 8.583e-05/0.023, allocations: 99.19 kB / 403.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004004/0.0234, allocations: 430.3 kB / 404 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.0234, allocations: 0 / 404 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.02362, allocations: 330.7 kB / 404.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.02401, allocations: 55.19 kB / 404.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.02505, allocations: 0.723 MB / 405.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.02516, allocations: 165.5 kB / 405.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.865e-05/0.02523, allocations: 30.95 kB / 405.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.02531, allocations: 98.2 kB / 405.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02531, allocations: 0 / 405.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of Templates: time 0.005787/0.0311, allocations: 3.948 MB / 409.4 MB, free: 8.715 MB / 330.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: 3.0615379139781]