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.001345/0.001345, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001387/0.001387, allocations: 168.3 kB / 24.91 MB, free: 8.77 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 1.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.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.2595/0.2595, allocations: 29.43 MB / 291.2 MB, free: 2.461 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 2.154e-06/2.154e-06, allocations: 0 / 316.8 MB, free: 8 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.311e-05, allocations: 3.188 kB / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007509/0.007542, allocations: 6.804 MB / 323.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.01156, allocations: 2.975 MB / 326.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.01183, allocations: 15.94 kB / 326.6 MB, free: 6.164 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.01312, allocations: 0.7158 MB / 327.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.01502, allocations: 1.112 MB / 328.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.01565, allocations: 303 kB / 328.8 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.01704, allocations: 1.371 MB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005596/0.0176, allocations: 412.6 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008789/0.01848, allocations: 0.7008 MB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006965/0.01918, allocations: 0.549 MB / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.465e-05/0.01924, allocations: 36 kB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.02033, allocations: 0.7512 MB / 332.6 MB, free: 204 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.02063, allocations: 315.2 kB / 332.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.02082, allocations: 171.6 kB / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008819/0.0217, allocations: 0.7242 MB / 333.8 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.02171, allocations: 4 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02171, allocations: 0 / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.02171, allocations: 0 / 333.8 MB, free: 14.99 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.000889/0.0226, allocations: 0.7138 MB / 334.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.02265, allocations: 15.98 kB / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.024, allocations: 335.3 kB / 334.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.02436, allocations: 256.5 kB / 335.1 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.02439, allocations: 29.36 kB / 335.1 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.02444, allocations: 48.3 kB / 335.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.0249, allocations: 412.1 kB / 335.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.02492, allocations: 4.188 kB / 335.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.02495, allocations: 16.36 kB / 335.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-05/0.02502, allocations: 44.56 kB / 335.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.02523, allocations: 140.2 kB / 335.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.02694, allocations: 2.151 MB / 337.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.02731, allocations: 269.6 kB / 338.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.02743, allocations: 77.44 kB / 338.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.02745, allocations: 15.94 kB / 338.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.02749, allocations: 42.55 kB / 338.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.02749, allocations: 0 / 338.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001025/0.02851, allocations: 381.3 kB / 338.7 MB, free: 9.809 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.02858, allocations: 114.7 kB / 338.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.02881, allocations: 278.8 kB / 339.1 MB, free: 9.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.02884, allocations: 33.7 kB / 339.1 MB, free: 9.348 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.02896, allocations: 236.7 kB / 339.3 MB, free: 9.113 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.949e-05/0.02905, allocations: 122.9 kB / 339.5 MB, free: 8.992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.02915, allocations: 78.38 kB / 339.5 MB, free: 8.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.02927, allocations: 354.7 kB / 339.9 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.02933, allocations: 32.98 kB / 339.9 MB, free: 8.523 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.02949, allocations: 188.1 kB / 340.1 MB, free: 8.266 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.02978, allocations: 282.9 kB / 340.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.02979, allocations: 11.94 kB / 340.4 MB, free: 7.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004507/0.03024, allocations: 322.8 kB / 340.7 MB, free: 7.586 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.03026, allocations: 8 kB / 340.7 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.03027, allocations: 4 kB / 340.7 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/0.03052, allocations: 92.33 kB / 340.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.0307, allocations: 71.91 kB / 340.9 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.03196, allocations: 1.845 MB / 342.7 MB, free: 5.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.03207, allocations: 43.67 kB / 342.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.03208, allocations: 16 kB / 342.8 MB, free: 5.414 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 0.0001108/0.03219, allocations: 136.6 kB / 342.9 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.03224, allocations: 31.97 kB / 342.9 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.03228, allocations: 51.08 kB / 343 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.03228, allocations: 7.984 kB / 343 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.03229, allocations: 8.031 kB / 343 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.0323, allocations: 3.984 kB / 343 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.03282, allocations: 0.5701 MB / 343.6 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.03283, allocations: 4 kB / 343.6 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.0329, allocations: 35.92 kB / 343.6 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001387/0.03304, allocations: 80.31 kB / 343.7 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.03305, allocations: 8 kB / 343.7 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.03415, allocations: 1.833 MB / 345.5 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.03415, allocations: 4 kB / 345.5 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.0345, allocations: 0.5028 MB / 346 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.03453, allocations: 39.64 kB / 346.1 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.03456, allocations: 4 kB / 346.1 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.03464, allocations: 11.94 kB / 346.1 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.03467, allocations: 31.88 kB / 346.1 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.03468, allocations: 4 kB / 346.1 MB, free: 1.875 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.566e-05/0.03476, allocations: 100.6 kB / 346.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03476, allocations: 0 / 346.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003534/0.03511, allocations: 155.8 kB / 346.4 MB, free: 1.621 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 0.0001063/0.03522, allocations: 85.62 kB / 346.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004057/0.03562, allocations: 368.6 kB / 346.8 MB, free: 1.156 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.03563, allocations: 4.438 kB / 346.8 MB, free: 1.152 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.03585, allocations: 263.1 kB / 347.1 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.03612, allocations: 62.78 kB / 347.1 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.03712, allocations: 0.7275 MB / 347.9 MB, free: 48 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.03724, allocations: 161.5 kB / 348 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.267e-05/0.0373, allocations: 26.97 kB / 348.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.03738, allocations: 83.36 kB / 348.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03738, allocations: 0 / 348.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of Templates: time 0.005695/0.04307, allocations: 3.867 MB / 352 MB, free: 11.93 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.0358507432974875]