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.001371/0.001371, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001467/0.001467, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.1907/0.1907, allocations: 38.55 MB / 352.5 MB, free: 12.29 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00249/0.00249, allocations: 67.91 kB / 493 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.473, allocations: 62.46 MB / 0.5424 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.008559/0.4816, allocations: 4.76 MB / 0.5471 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004593/0.4861, allocations: 2.344 MB / 0.5494 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004828/0.4866, allocations: 18.16 kB / 0.5494 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.4882, allocations: 420.8 kB / 0.5498 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.4899, allocations: 0.5125 MB / 0.5503 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009928/0.4909, allocations: 288.2 kB / 0.5506 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.4923, allocations: 0.7382 MB / 0.5513 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007506/0.4931, allocations: 285.7 kB / 0.5515 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009902/0.494, allocations: 332.7 kB / 0.5519 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008618/0.4949, allocations: 327 kB / 0.5522 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.495, allocations: 40 kB / 0.5522 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.4965, allocations: 0.5438 MB / 0.5527 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.4969, allocations: 192.9 kB / 0.5529 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.4973, allocations: 205 kB / 0.5531 GB, free: 8.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.499, allocations: 0.7735 MB / 0.5539 GB, free: 8.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.499, allocations: 1.25 kB / 0.5539 GB, free: 8.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.499, allocations: 0 / 0.5539 GB, free: 8.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.916e-05/0.499, allocations: 0 / 0.5539 GB, free: 8.012 MB / 398.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.002063/0.5011, allocations: 0.7099 MB / 0.5546 GB, free: 7.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5011, allocations: 13.61 kB / 0.5546 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.503, allocations: 203.2 kB / 0.5548 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008395/0.5039, allocations: 310.1 kB / 0.5551 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.5039, allocations: 33.84 kB / 0.5551 GB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.504, allocations: 40.53 kB / 0.5551 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.5053, allocations: 0.6336 MB / 0.5558 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.5054, allocations: 3.953 kB / 0.5558 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.5054, allocations: 19.94 kB / 0.5558 GB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.501e-05/0.5055, allocations: 40.97 kB / 0.5558 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.5066, allocations: 0.601 MB / 0.5564 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004025/0.5107, allocations: 2.01 MB / 0.5584 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006917/0.5113, allocations: 374.8 kB / 0.5587 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.5117, allocations: 205.7 kB / 0.5589 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.781e-05/0.5117, allocations: 8 kB / 0.5589 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.5118, allocations: 42.56 kB / 0.559 GB, free: 3.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.5118, allocations: 0 / 0.559 GB, free: 3.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.003936/0.5157, allocations: 1.546 MB / 0.5605 GB, free: 1.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.5158, allocations: 85.05 kB / 0.5606 GB, free: 1.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.5161, allocations: 249.9 kB / 0.5608 GB, free: 1.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.5161, allocations: 29.7 kB / 0.5608 GB, free: 1.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.5164, allocations: 244.3 kB / 0.5611 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.5165, allocations: 162.8 kB / 0.5612 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.5167, allocations: 82.19 kB / 0.5613 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.5169, allocations: 350.7 kB / 0.5616 GB, free: 204 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.5172, allocations: 176.9 kB / 0.5618 GB, free: 28 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.5176, allocations: 285.8 kB / 0.5621 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007858/0.5184, allocations: 0.5082 MB / 0.5626 GB, free: 15.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5184, allocations: 0 / 0.5626 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001331/0.5197, allocations: 0.6693 MB / 0.5632 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.5198, allocations: 11.88 kB / 0.5632 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.5198, allocations: 4 kB / 0.5632 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006709/0.5205, allocations: 177.2 kB / 0.5634 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.5209, allocations: 99.81 kB / 0.5635 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/0.5252, allocations: 2.632 MB / 0.5661 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.5255, allocations: 19.92 kB / 0.5661 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.5256, allocations: 20 kB / 0.5661 GB, free: 11.42 MB / 414.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.000305/0.5259, allocations: 201.7 kB / 0.5663 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/0.526, allocations: 35.77 kB / 0.5663 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.5273, allocations: 0.6294 MB / 0.567 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.5273, allocations: 4 kB / 0.567 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.5273, allocations: 0 / 0.567 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5273, allocations: 7.984 kB / 0.567 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.5297, allocations: 1.153 MB / 0.5681 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.5297, allocations: 0 / 0.5681 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.5301, allocations: 79.89 kB / 0.5682 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/0.5305, allocations: 148.9 kB / 0.5683 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.5306, allocations: 11.98 kB / 0.5683 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003418/0.534, allocations: 2.426 MB / 0.5707 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.534, allocations: 0 / 0.5707 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.5357, allocations: 0.9538 MB / 0.5716 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.5358, allocations: 35.78 kB / 0.5717 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.5359, allocations: 8 kB / 0.5717 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.5362, allocations: 12 kB / 0.5717 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.5363, allocations: 39.86 kB / 0.5717 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.5363, allocations: 16 kB / 0.5717 GB, free: 5.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.5366, allocations: 173.2 kB / 0.5719 GB, free: 5.293 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5366, allocations: 0 / 0.5719 GB, free: 5.293 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008023/0.5374, allocations: 144 kB / 0.572 GB, free: 5.152 MB / 414.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.000186/0.5375, allocations: 99.19 kB / 0.5721 GB, free: 5.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.539, allocations: 0.6577 MB / 0.5728 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.539, allocations: 0 / 0.5728 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007583/0.5398, allocations: 399.3 kB / 0.5732 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.5403, allocations: 61.02 kB / 0.5732 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.5428, allocations: 1.158 MB / 0.5743 GB, free: 2.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.5432, allocations: 262.7 kB / 0.5746 GB, free: 2.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002231/0.5434, allocations: 63.25 kB / 0.5747 GB, free: 2.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.5435, allocations: 39.42 kB / 0.5747 GB, free: 2.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.5435, allocations: 0 / 0.5747 GB, free: 2.34 MB / 414.1 MB Notification: Performance of Templates: time 0.01264/0.5562, allocations: 5.948 MB / 0.5805 GB, free: 12.43 MB / 430.1 MB " [Timeout remaining time 659] 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.496349660679698] Failed to read output from testmodel.py, exit status != 0: 0.5664242915809155 0.58104358 0.078630193 Calling exit ...