Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.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.0009613/0.0009613, allocations: 87.58 kB / 21.19 MB, free: 3.383 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.0009843/0.0009843, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.8976/0.8976, allocations: 177.1 MB / 205 MB, free: 5.648 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.2536/0.2536, allocations: 29.41 MB / 290.9 MB, free: 2.445 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.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.306e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.003193/0.003206, allocations: 3.464 MB / 373.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.004256, allocations: 1.04 MB / 374.1 MB, free: 6.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.004366, allocations: 11.88 kB / 374.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.00479, allocations: 159.2 kB / 374.3 MB, free: 6.312 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.005069, allocations: 178.9 kB / 374.5 MB, free: 6.137 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.005263, allocations: 135.5 kB / 374.6 MB, free: 6.004 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.005508, allocations: 286.9 kB / 374.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.005702, allocations: 118.3 kB / 375 MB, free: 5.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.005912, allocations: 175.5 kB / 375.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.00604, allocations: 99.67 kB / 375.3 MB, free: 5.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.006059, allocations: 12 kB / 375.3 MB, free: 5.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.006265, allocations: 183.5 kB / 375.5 MB, free: 5.148 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.006326, allocations: 71.75 kB / 375.5 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.006387, allocations: 71.83 kB / 375.6 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.006656, allocations: 239.1 kB / 375.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.006658, allocations: 0 / 375.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006659, allocations: 4 kB / 375.8 MB, free: 4.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.006663, allocations: 0 / 375.8 MB, free: 4.77 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004422/0.007105, allocations: 0.5232 MB / 376.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.007136, allocations: 11.98 kB / 376.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/0.007526, allocations: 108.7 kB / 376.5 MB, free: 4.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.007727, allocations: 212.2 kB / 376.7 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.007741, allocations: 16.7 kB / 376.7 MB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.00777, allocations: 16.38 kB / 376.7 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.007999, allocations: 209.4 kB / 376.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.008009, allocations: 8.125 kB / 376.9 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.008025, allocations: 8.125 kB / 376.9 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.008049, allocations: 16.31 kB / 377 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.00821, allocations: 116.3 kB / 377.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.009083, allocations: 1.237 MB / 378.3 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.009223, allocations: 106.2 kB / 378.4 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.009261, allocations: 31.44 kB / 378.4 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.009272, allocations: 4 kB / 378.5 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.009293, allocations: 37.38 kB / 378.5 MB, free: 1.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.009294, allocations: 0 / 378.5 MB, free: 1.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001945/0.009489, allocations: 120.5 kB / 378.6 MB, free: 1.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.009519, allocations: 81.23 kB / 378.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.009636, allocations: 238.6 kB / 378.9 MB, free: 1.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.009648, allocations: 33.7 kB / 379 MB, free: 1.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.009718, allocations: 198.8 kB / 379.1 MB, free: 1.195 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.009745, allocations: 51.62 kB / 379.2 MB, free: 1.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.009788, allocations: 47.31 kB / 379.2 MB, free: 1.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003285/0.01012, allocations: 0.504 MB / 379.7 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.01015, allocations: 19.98 kB / 379.8 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.01023, allocations: 140 kB / 379.9 MB, free: 376 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.01035, allocations: 168 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01035, allocations: 0 / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001637/0.01051, allocations: 173.2 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.01052, allocations: 6.5 kB / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01053, allocations: 4 kB / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.01054, allocations: 4 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.01069, allocations: 51.91 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006492/0.01134, allocations: 1.817 MB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.0114, allocations: 23.83 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.01141, allocations: 8 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.239e-05/0.01148, allocations: 168.5 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.0115, allocations: 19.91 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.01162, allocations: 107 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.01162, allocations: 0 / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.02e-07/0.01162, allocations: 4.094 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01162, allocations: 7.984 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.01196, allocations: 440.4 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01196, allocations: 3.984 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.653e-05/0.01205, allocations: 27.98 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01205, allocations: 4 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.01206, allocations: 3.938 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005266/0.01259, allocations: 1.809 MB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01259, allocations: 7.922 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.01277, allocations: 302.7 kB / 385 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.01278, allocations: 11.91 kB / 385 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.01279, allocations: 4 kB / 385 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.464e-05/0.01284, allocations: 4 kB / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.01286, allocations: 19.84 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.01287, allocations: 7.938 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.361e-05/0.01293, allocations: 169.1 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01293, allocations: 4.094 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.01314, allocations: 51.89 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.113e-05/0.0132, allocations: 98.75 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.01337, allocations: 110.3 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01337, allocations: 0.6875 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.4e-05/0.01343, allocations: 51.72 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.01366, allocations: 23.98 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/0.0145, allocations: 467.9 kB / 386 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.592e-05/0.01454, allocations: 83.97 kB / 386.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.0146, allocations: 21.47 kB / 386.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.01463, allocations: 20.48 kB / 386.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01463, allocations: 0 / 386.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of Templates: time 0.003158/0.01778, allocations: 1.431 MB / 387.6 MB, free: 8.246 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8822031528688967]