Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.001344/0.001344, allocations: 85.28 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.001532/0.001532, allocations: 164.9 kB / 23.96 MB, free: 4.164 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.475/1.475, allocations: 177.1 MB / 204.3 MB, free: 9.199 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.1733/0.1733, allocations: 29.43 MB / 290.1 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.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 430.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.745e-05, allocations: 2.281 kB / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.006743/0.00677, allocations: 4.726 MB / 435.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003909/0.01068, allocations: 2.332 MB / 437.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.01089, allocations: 11.94 kB / 437.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.01229, allocations: 433.2 kB / 438.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.0137, allocations: 0.5246 MB / 438.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.01453, allocations: 290.9 kB / 439 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.01555, allocations: 0.7513 MB / 439.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006335/0.01618, allocations: 285.7 kB / 440 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008138/0.017, allocations: 446.6 kB / 440.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000589/0.01759, allocations: 307.1 kB / 440.8 MB, free: 7.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.85e-05/0.01765, allocations: 36 kB / 440.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.0188, allocations: 0.5412 MB / 441.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.01906, allocations: 215.4 kB / 441.6 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.01933, allocations: 167.7 kB / 441.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.02059, allocations: 0.7984 MB / 442.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.02059, allocations: 0 / 442.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.0206, allocations: 0 / 442.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.02061, allocations: 0 / 442.5 MB, free: 6.098 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001408/0.02201, allocations: 0.7038 MB / 443.2 MB, free: 5.363 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.02207, allocations: 15.98 kB / 443.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.02378, allocations: 204.4 kB / 443.4 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/0.02434, allocations: 312.3 kB / 443.8 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.02438, allocations: 33.36 kB / 443.8 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-05/0.02448, allocations: 48.33 kB / 443.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.02557, allocations: 0.623 MB / 444.5 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.0256, allocations: 4.125 kB / 444.5 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.02565, allocations: 24.36 kB / 444.5 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.755e-05/0.02572, allocations: 40.92 kB / 444.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.02683, allocations: 0.6049 MB / 445.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.03036, allocations: 1.996 MB / 447.1 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000655/0.03101, allocations: 377.3 kB / 447.5 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.03135, allocations: 209.7 kB / 447.7 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.03138, allocations: 4 kB / 447.7 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.03142, allocations: 46.44 kB / 447.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.03143, allocations: 0 / 447.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.2268/0.2582, allocations: 1.548 MB / 449.3 MB, free: 30.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.2583, allocations: 83.16 kB / 449.4 MB, free: 29.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.2585, allocations: 253.9 kB / 449.6 MB, free: 29.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.2586, allocations: 34.95 kB / 449.7 MB, free: 29.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2587, allocations: 236 kB / 449.9 MB, free: 29.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.2588, allocations: 158.6 kB / 450 MB, free: 29.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.2589, allocations: 89.2 kB / 450.1 MB, free: 29.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.259, allocations: 342.3 kB / 450.5 MB, free: 29.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.2594, allocations: 181.1 kB / 450.6 MB, free: 29.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.2598, allocations: 293.5 kB / 450.9 MB, free: 28.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/0.2605, allocations: 0.4985 MB / 451.4 MB, free: 28.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2605, allocations: 1.344 kB / 451.4 MB, free: 28.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001194/0.2617, allocations: 0.6688 MB / 452.1 MB, free: 28.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.2617, allocations: 6.281 kB / 452.1 MB, free: 28.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.2617, allocations: 4.469 kB / 452.1 MB, free: 28.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/0.2623, allocations: 175.4 kB / 452.3 MB, free: 28.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.2627, allocations: 94.27 kB / 452.4 MB, free: 28.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/0.2659, allocations: 2.625 MB / 455 MB, free: 26.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.2661, allocations: 22 kB / 455 MB, free: 26.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.2662, allocations: 21 kB / 455 MB, free: 26.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002169/0.2664, allocations: 203.2 kB / 455.2 MB, free: 26.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.2665, allocations: 35.75 kB / 455.3 MB, free: 26.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.2676, allocations: 0.6294 MB / 455.9 MB, free: 26.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.2676, allocations: 5.5 kB / 455.9 MB, free: 26.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2676, allocations: 7.766 kB / 455.9 MB, free: 26.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.2676, allocations: 4.609 kB / 455.9 MB, free: 26.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.2695, allocations: 1.157 MB / 457.1 MB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2695, allocations: 2.016 kB / 457.1 MB, free: 25.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.2699, allocations: 82.53 kB / 457.2 MB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/0.2704, allocations: 141.9 kB / 457.3 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.2704, allocations: 13.72 kB / 457.3 MB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/0.2729, allocations: 2.412 MB / 459.7 MB, free: 23.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2729, allocations: 1.156 kB / 459.7 MB, free: 23.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.2744, allocations: 0.9487 MB / 460.7 MB, free: 23.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.2744, allocations: 35.02 kB / 460.7 MB, free: 23.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.2745, allocations: 8.906 kB / 460.7 MB, free: 23.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.2747, allocations: 23.44 kB / 460.7 MB, free: 23.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.2748, allocations: 41.16 kB / 460.8 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.2748, allocations: 11.86 kB / 460.8 MB, free: 23.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.2749, allocations: 177.2 kB / 461 MB, free: 23.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2749, allocations: 0 / 461 MB, free: 23.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006184/0.2756, allocations: 135 kB / 461.1 MB, free: 23.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * 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 (38): * Single equations (assignments): 36 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001111/0.2757, allocations: 113.6 kB / 461.2 MB, free: 22.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.2769, allocations: 0.6382 MB / 461.8 MB, free: 22.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2769, allocations: 4.062 kB / 461.8 MB, free: 22.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.2775, allocations: 407.3 kB / 462.2 MB, free: 22.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.278, allocations: 62.64 kB / 462.3 MB, free: 22.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.2796, allocations: 1.032 MB / 463.3 MB, free: 21.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.2799, allocations: 268.4 kB / 463.6 MB, free: 21.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.28, allocations: 73.47 kB / 463.7 MB, free: 21.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-05/0.2801, allocations: 30.64 kB / 463.7 MB, free: 21.77 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2801, allocations: 0 / 463.7 MB, free: 21.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01098/0.2911, allocations: 5.37 MB / 469.1 MB, free: 20.65 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.073644053190947] Failed to read output from testmodel.py, exit status != 0: 0.3000357449054718 0.309456891 0.28661572900000004 Calling exit ...