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.0009511/0.0009511, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009998/0.0009998, allocations: 166.5 kB / 25.61 MB, free: 8.492 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 0.9736/0.9736, allocations: 177.1 MB / 206 MB, free: 4.504 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.1201/0.1201, allocations: 29.42 MB / 292 MB, free: 2.645 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 2.014e-06/2.014e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.454e-05, allocations: 3.125 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.004062/0.004096, allocations: 3.464 MB / 374.3 MB, free: 28.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.005617, allocations: 1.024 MB / 375.4 MB, free: 27.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.005797, allocations: 15.88 kB / 375.4 MB, free: 27.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006631/0.006461, allocations: 159.2 kB / 375.5 MB, free: 27.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.006853, allocations: 179.1 kB / 375.7 MB, free: 27.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.007129, allocations: 131.5 kB / 375.8 MB, free: 27.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.007382, allocations: 294.9 kB / 376.1 MB, free: 27.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.007594, allocations: 114.7 kB / 376.2 MB, free: 26.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.007875, allocations: 171.5 kB / 376.4 MB, free: 26.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.008049, allocations: 99.67 kB / 376.5 MB, free: 26.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.008071, allocations: 16 kB / 376.5 MB, free: 26.67 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.008299, allocations: 191.4 kB / 376.7 MB, free: 26.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.008361, allocations: 67.81 kB / 376.8 MB, free: 26.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.008414, allocations: 63.83 kB / 376.8 MB, free: 26.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.008704, allocations: 243.2 kB / 377.1 MB, free: 26.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.008708, allocations: 0 / 377.1 MB, free: 26.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00871, allocations: 3.938 kB / 377.1 MB, free: 26.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.008714, allocations: 0 / 377.1 MB, free: 26.11 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000428/0.009143, allocations: 0.5309 MB / 377.6 MB, free: 25.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.009177, allocations: 12.03 kB / 377.6 MB, free: 25.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.009573, allocations: 100.7 kB / 377.7 MB, free: 25.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.009775, allocations: 204.8 kB / 377.9 MB, free: 25.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.009788, allocations: 16.7 kB / 377.9 MB, free: 25.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.009817, allocations: 16.38 kB / 377.9 MB, free: 25.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.01, allocations: 198.9 kB / 378.1 MB, free: 24.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.01002, allocations: 4.188 kB / 378.1 MB, free: 24.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.01003, allocations: 8.125 kB / 378.1 MB, free: 24.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.01006, allocations: 16.33 kB / 378.2 MB, free: 24.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.01017, allocations: 96.31 kB / 378.3 MB, free: 24.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/0.01094, allocations: 1.183 MB / 379.4 MB, free: 23.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.01107, allocations: 102.1 kB / 379.5 MB, free: 23.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.0111, allocations: 27.52 kB / 379.6 MB, free: 23.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.01111, allocations: 8 kB / 379.6 MB, free: 23.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.01113, allocations: 37.39 kB / 379.6 MB, free: 23.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.893e-06/0.01113, allocations: 0 / 379.6 MB, free: 23.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001847/0.01132, allocations: 109.5 kB / 379.7 MB, free: 23.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.01134, allocations: 81.09 kB / 379.8 MB, free: 23.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/0.01142, allocations: 242.5 kB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.563e-06/0.01143, allocations: 25.7 kB / 380.1 MB, free: 22.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.01149, allocations: 206.8 kB / 380.3 MB, free: 22.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.01151, allocations: 43.62 kB / 380.3 MB, free: 22.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.01155, allocations: 47.34 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.0116, allocations: 0.5079 MB / 380.9 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.01162, allocations: 15.98 kB / 380.9 MB, free: 22.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.888e-05/0.01167, allocations: 132 kB / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.951e-05/0.01176, allocations: 164 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01176, allocations: 0 / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001442/0.01191, allocations: 157.2 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01192, allocations: 4 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01193, allocations: 4.344 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.01194, allocations: 8 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.01209, allocations: 51.91 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005062/0.01259, allocations: 1.794 MB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/0.01266, allocations: 19.88 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.01267, allocations: 8 kB / 383.2 MB, free: 19.47 MB / 314.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 6.808e-05/0.01274, allocations: 180.6 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.01276, allocations: 19.91 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.01286, allocations: 102.1 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01286, allocations: 4 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01287, allocations: 3.938 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01287, allocations: 0 / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.01317, allocations: 393.2 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01317, allocations: 0 / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.01326, allocations: 31.92 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01326, allocations: 8.062 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.01327, allocations: 7.938 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004093/0.01368, allocations: 1.794 MB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01368, allocations: 4 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.01383, allocations: 294.8 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.01385, allocations: 15.84 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.01386, allocations: 12.16 kB / 386 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.737e-05/0.01391, allocations: 0 / 386 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.01393, allocations: 19.92 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.01394, allocations: 0 / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.372e-05/0.01398, allocations: 161.1 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01398, allocations: 0 / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.01419, allocations: 55.89 kB / 386.3 MB, free: 16.19 MB / 314.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 8.158e-05/0.01427, allocations: 91.25 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.01444, allocations: 99.42 kB / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01444, allocations: 0 / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.01449, allocations: 47.59 kB / 386.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.01475, allocations: 32.75 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008199/0.01557, allocations: 484.4 kB / 387 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.569e-05/0.01561, allocations: 83.98 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.842e-05/0.01566, allocations: 17.47 kB / 387.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.01571, allocations: 94.2 kB / 387.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01571, allocations: 0 / 387.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of Templates: time 0.003254/0.01897, allocations: 1.511 MB / 388.7 MB, free: 13.71 MB / 314.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: 3.1167064383625984]