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.001777/0.001777, allocations: 85.98 kB / 20.68 MB, free: 1.035 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.002513/0.002513, allocations: 164.5 kB / 23.95 MB, free: 4.168 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.519/1.519, allocations: 177.1 MB / 204.3 MB, free: 9.172 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.1774/0.1774, allocations: 29.44 MB / 290.1 MB, free: 3.277 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: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.714e-05, allocations: 2.281 kB / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01149/0.01153, allocations: 7.091 MB / 437.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00734/0.01887, allocations: 3.879 MB / 441.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000619/0.01949, allocations: 15.94 kB / 441.7 MB, free: 6.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003309/0.0228, allocations: 1.018 MB / 442.7 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003141/0.02594, allocations: 1.12 MB / 443.8 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.02698, allocations: 322.8 kB / 444.2 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002446/0.02942, allocations: 1.39 MB / 445.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.03053, allocations: 404 kB / 445.9 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.0324, allocations: 0.7279 MB / 446.7 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.03365, allocations: 0.5997 MB / 447.3 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.03377, allocations: 36 kB / 447.3 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.03572, allocations: 0.7978 MB / 448.1 MB, free: 484 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005334/0.03625, allocations: 307.1 kB / 448.4 MB, free: 176 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2066/0.2429, allocations: 178.4 kB / 448.6 MB, free: 16.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.2452, allocations: 0.8326 MB / 449.4 MB, free: 16.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2452, allocations: 3.344 kB / 449.4 MB, free: 16.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.2452, allocations: 0 / 449.4 MB, free: 16.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.2452, allocations: 1.125 kB / 449.4 MB, free: 16.68 MB / 366.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.001139/0.2463, allocations: 0.7392 MB / 450.2 MB, free: 16.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2464, allocations: 14.33 kB / 450.2 MB, free: 16.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.248, allocations: 130.3 kB / 450.3 MB, free: 16.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.2485, allocations: 277.2 kB / 450.6 MB, free: 16.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.2486, allocations: 30.73 kB / 450.6 MB, free: 16.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.2487, allocations: 41.41 kB / 450.6 MB, free: 16.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009636/0.2496, allocations: 0.5906 MB / 451.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.2496, allocations: 1.562 kB / 451.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.2497, allocations: 19.42 kB / 451.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.857e-05/0.2498, allocations: 40.67 kB / 451.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.2504, allocations: 386.4 kB / 451.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.2526, allocations: 2.395 MB / 454.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/0.2533, allocations: 411.4 kB / 454.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.2536, allocations: 194.3 kB / 454.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2536, allocations: 4.312 kB / 454.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.2536, allocations: 38.81 kB / 454.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.2536, allocations: 2.094 kB / 454.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001792/0.2554, allocations: 0.6686 MB / 455.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.2555, allocations: 115.1 kB / 455.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.2558, allocations: 309.8 kB / 455.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.2558, allocations: 33.27 kB / 455.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.256, allocations: 257.1 kB / 456.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.2561, allocations: 123.6 kB / 456.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.2562, allocations: 78.52 kB / 456.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.2563, allocations: 348.2 kB / 456.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.2565, allocations: 131 kB / 456.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.2568, allocations: 281.7 kB / 457 MB, free: 12.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006007/0.2574, allocations: 460.1 kB / 457.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.2574, allocations: 4.609 kB / 457.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009014/0.2583, allocations: 0.5501 MB / 458 MB, free: 12.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2583, allocations: 7.344 kB / 458 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2583, allocations: 8.562 kB / 458 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/0.2587, allocations: 118.8 kB / 458.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.2589, allocations: 72.58 kB / 458.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.2614, allocations: 2.357 MB / 460.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.2617, allocations: 38.2 kB / 460.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.2617, allocations: 18.97 kB / 460.6 MB, free: 11.17 MB / 366.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.0002658/0.262, allocations: 200.6 kB / 460.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.288e-05/0.2621, allocations: 40.42 kB / 460.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.683e-05/0.2622, allocations: 50.31 kB / 460.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2622, allocations: 3.812 kB / 460.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.2622, allocations: 5.125 kB / 460.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2622, allocations: 1.359 kB / 460.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.2638, allocations: 0.8251 MB / 461.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2638, allocations: 1.375 kB / 461.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.264, allocations: 35.06 kB / 461.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002771/0.2642, allocations: 118.4 kB / 461.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.2643, allocations: 12.08 kB / 461.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/0.2666, allocations: 2.341 MB / 464.2 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2666, allocations: 1.156 kB / 464.2 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000732/0.2673, allocations: 0.621 MB / 464.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.2674, allocations: 39.78 kB / 464.9 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.2674, allocations: 12.16 kB / 464.9 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.2676, allocations: 6.781 kB / 464.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.2676, allocations: 24.39 kB / 465 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.2677, allocations: 8.578 kB / 465 MB, free: 8.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.2679, allocations: 202.5 kB / 465.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2679, allocations: 0 / 465.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007807/0.2686, allocations: 161.7 kB / 465.3 MB, free: 8.629 MB / 366.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.0001207/0.2688, allocations: 104.8 kB / 465.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.2699, allocations: 0.5119 MB / 465.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2699, allocations: 1.312 kB / 465.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005028/0.2704, allocations: 334.5 kB / 466.3 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.271, allocations: 54.8 kB / 466.3 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2725, allocations: 0.7969 MB / 467.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.2728, allocations: 287.5 kB / 467.4 MB, free: 7.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001806/0.273, allocations: 69.09 kB / 467.5 MB, free: 7.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.2731, allocations: 23.3 kB / 467.5 MB, free: 7.539 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2731, allocations: 4 kB / 467.5 MB, free: 7.535 MB / 366.1 MB Notification: Performance of Templates: time 0.009014/0.2821, allocations: 3.617 MB / 471.1 MB, free: 7.129 MB / 366.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: 4.941311724483967] Failed to read output from testmodel.py, exit status != 0: 0.2911389321088791 0.30084152099999995 0.053118782 Calling exit ...