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.001386/0.001386, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001778/0.001778, allocations: 166.7 kB / 24.91 MB, free: 9.152 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 1.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2728/0.2728, allocations: 29.42 MB / 291.2 MB, free: 2.484 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.713e-06/1.713e-06, allocations: 0 / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.957e-05, allocations: 2.312 kB / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.005329/0.005359, allocations: 3.509 MB / 320.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.00742, allocations: 1.048 MB / 321.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.007604, allocations: 15.88 kB / 321.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.008263, allocations: 151.2 kB / 321.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.008768, allocations: 179 kB / 321.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.009168, allocations: 131.4 kB / 321.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00044/0.009608, allocations: 295.2 kB / 322.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.009893, allocations: 118.9 kB / 322.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003944/0.01029, allocations: 179.4 kB / 322.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.01051, allocations: 87.77 kB / 322.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.01054, allocations: 16 kB / 322.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.01093, allocations: 187.4 kB / 322.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.038e-05/0.01102, allocations: 67.81 kB / 322.8 MB, free: 10 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.613e-05/0.01111, allocations: 67.83 kB / 322.9 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.01159, allocations: 247.1 kB / 323.1 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01159, allocations: 0 / 323.1 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01159, allocations: 0 / 323.1 MB, free: 9.695 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.0116, allocations: 0 / 323.1 MB, free: 9.695 MB / 298.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.0006813/0.01228, allocations: 407.7 kB / 323.5 MB, free: 9.273 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.01233, allocations: 19.98 kB / 323.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007625/0.01309, allocations: 108.7 kB / 323.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.01343, allocations: 202 kB / 323.9 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.01345, allocations: 12.69 kB / 323.9 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.01349, allocations: 24.36 kB / 323.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.01379, allocations: 184 kB / 324.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.0138, allocations: 4.188 kB / 324.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.01382, allocations: 8.125 kB / 324.1 MB, free: 8.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.01386, allocations: 12.33 kB / 324.1 MB, free: 8.664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.01402, allocations: 87.23 kB / 324.2 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.01512, allocations: 0.8938 MB / 325.1 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.0153, allocations: 130.6 kB / 325.2 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.01534, allocations: 29.77 kB / 325.2 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.01536, allocations: 7.938 kB / 325.2 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.01539, allocations: 30.56 kB / 325.3 MB, free: 7.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.01539, allocations: 0 / 325.3 MB, free: 7.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.000229/0.01562, allocations: 87.34 kB / 325.4 MB, free: 7.305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.01566, allocations: 81.11 kB / 325.4 MB, free: 7.207 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.01582, allocations: 187.2 kB / 325.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.01583, allocations: 29.77 kB / 325.6 MB, free: 6.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/0.01592, allocations: 148.1 kB / 325.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.01596, allocations: 47.56 kB / 325.8 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/0.01603, allocations: 45.69 kB / 325.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.01614, allocations: 330.7 kB / 326.2 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/0.01619, allocations: 18.81 kB / 326.2 MB, free: 6.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-05/0.01628, allocations: 89.12 kB / 326.3 MB, free: 6.254 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.01645, allocations: 144.6 kB / 326.4 MB, free: 6.074 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01645, allocations: 0 / 326.4 MB, free: 6.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002303/0.01668, allocations: 136.4 kB / 326.6 MB, free: 5.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.0167, allocations: 7.984 kB / 326.6 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.01671, allocations: 4 kB / 326.6 MB, free: 5.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.01672, allocations: 4 kB / 326.6 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.01701, allocations: 51.91 kB / 326.6 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008332/0.01784, allocations: 1.234 MB / 327.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.01794, allocations: 19.84 kB / 327.9 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.01796, allocations: 11.98 kB / 327.9 MB, free: 4.508 MB / 298.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 0.0001003/0.01806, allocations: 120.6 kB / 328 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.01811, allocations: 15.98 kB / 328 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.01826, allocations: 93.08 kB / 328.1 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01826, allocations: 0 / 328.1 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01826, allocations: 3.938 kB / 328.1 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.01827, allocations: 4 kB / 328.1 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.01876, allocations: 349.9 kB / 328.5 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01876, allocations: 0 / 328.5 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.01894, allocations: 40.61 kB / 328.5 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01895, allocations: 3.938 kB / 328.5 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.01896, allocations: 0 / 328.5 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007434/0.0197, allocations: 1.232 MB / 329.8 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.0197, allocations: 4.188 kB / 329.8 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.01998, allocations: 273.2 kB / 330 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.02, allocations: 11.91 kB / 330 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.02002, allocations: 7.984 kB / 330.1 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.02011, allocations: 0 / 330.1 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.02014, allocations: 15.92 kB / 330.1 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.02015, allocations: 4 kB / 330.1 MB, free: 2.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.845e-05/0.02021, allocations: 46.78 kB / 330.1 MB, free: 2.125 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02021, allocations: 0 / 330.1 MB, free: 2.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003398/0.02055, allocations: 51.89 kB / 330.2 MB, free: 2.074 MB / 298.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 0.0001126/0.02066, allocations: 76.45 kB / 330.2 MB, free: 1.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.02089, allocations: 100.5 kB / 330.3 MB, free: 1.887 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.02089, allocations: 0 / 330.3 MB, free: 1.887 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.02099, allocations: 46.33 kB / 330.4 MB, free: 1.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.02131, allocations: 30.91 kB / 330.4 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.02264, allocations: 483.2 kB / 330.9 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.811e-05/0.0227, allocations: 79.97 kB / 331 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.801e-05/0.02278, allocations: 21.64 kB / 331 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.02289, allocations: 71.38 kB / 331.1 MB, free: 1.117 MB / 298.7 MB Notification: Performance of SimCode: time 1.143e-06/0.02289, allocations: 0 / 331.1 MB, free: 1.117 MB / 298.7 MB Notification: Performance of Templates: time 0.005184/0.02807, allocations: 1.601 MB / 332.7 MB, free: 15.54 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.834599832072854]