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.000645/0.000645, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008713/0.001516, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006591/0.0006591, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008469/0.001506, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8933/0.8933, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0787/0.972, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.1127/0.1127, allocations: 29.43 MB / 273.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/0.2158, allocations: 9.522 MB / 283.1 MB, free: 12.82 MB / 282.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.102e-06/1.102e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.071e-06/7.173e-06, allocations: 2.312 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.002868/0.002876, allocations: 3.562 MB / 288 MB, free: 9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.003818, allocations: 1.054 MB / 289 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.603e-05/0.003894, allocations: 10.34 kB / 289 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.004177, allocations: 188.5 kB / 289.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.004381, allocations: 188.2 kB / 289.4 MB, free: 7.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.004534, allocations: 132 kB / 289.5 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.004754, allocations: 303 kB / 289.8 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.004902, allocations: 114 kB / 289.9 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.005091, allocations: 189.4 kB / 290.1 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.005208, allocations: 96.36 kB / 290.2 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.005225, allocations: 16.97 kB / 290.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.005417, allocations: 192.8 kB / 290.4 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.005465, allocations: 58.22 kB / 290.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.005515, allocations: 57.38 kB / 290.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.005743, allocations: 228.2 kB / 290.8 MB, free: 7.156 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.00575, allocations: 4 kB / 290.8 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00575, allocations: 0 / 290.8 MB, free: 7.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.005757, allocations: 0 / 290.8 MB, free: 7.152 MB / 282.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.0003628/0.00612, allocations: 469.7 kB / 291.2 MB, free: 6.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.053e-05/0.006141, allocations: 9.625 kB / 291.2 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003786/0.006519, allocations: 183.7 kB / 291.4 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.006702, allocations: 202.8 kB / 291.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.006713, allocations: 11.52 kB / 291.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.006739, allocations: 19.16 kB / 291.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.006926, allocations: 178.4 kB / 291.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.006935, allocations: 1.469 kB / 291.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.00695, allocations: 13.39 kB / 291.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.006974, allocations: 18.52 kB / 291.9 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.007091, allocations: 86.77 kB / 291.9 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.00786, allocations: 0.8893 MB / 292.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.007989, allocations: 131.3 kB / 293 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.008021, allocations: 27.52 kB / 293 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.008031, allocations: 2.812 kB / 293 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.008051, allocations: 33.66 kB / 293 MB, free: 5.281 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.008051, allocations: 0 / 293 MB, free: 5.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001369/0.008188, allocations: 90.98 kB / 293.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.008222, allocations: 82.5 kB / 293.2 MB, free: 5.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.008341, allocations: 178.2 kB / 293.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.008352, allocations: 31.08 kB / 293.4 MB, free: 4.941 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.008407, allocations: 151.5 kB / 293.5 MB, free: 4.797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.008433, allocations: 49.09 kB / 293.6 MB, free: 4.754 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.008473, allocations: 39.06 kB / 293.6 MB, free: 4.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.008576, allocations: 335 kB / 294 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.0086, allocations: 22.41 kB / 294 MB, free: 4.379 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.008654, allocations: 99.48 kB / 294.1 MB, free: 4.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.008756, allocations: 143.5 kB / 294.2 MB, free: 4.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.008758, allocations: 4 kB / 294.2 MB, free: 4.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001166/0.008874, allocations: 134.6 kB / 294.3 MB, free: 4.055 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.008884, allocations: 6.781 kB / 294.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.008888, allocations: 2.844 kB / 294.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.008896, allocations: 3.531 kB / 294.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.009067, allocations: 66.45 kB / 294.4 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005262/0.009593, allocations: 1.23 MB / 295.7 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.009644, allocations: 17.83 kB / 295.7 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.009654, allocations: 14 kB / 295.7 MB, free: 2.738 MB / 282.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 5.775e-05/0.009712, allocations: 122.8 kB / 295.8 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.009733, allocations: 11.98 kB / 295.8 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.468e-05/0.009817, allocations: 92 kB / 295.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.009819, allocations: 1.125 kB / 295.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.009821, allocations: 4.562 kB / 295.9 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.009825, allocations: 7.891 kB / 295.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.01007, allocations: 337.6 kB / 296.2 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01008, allocations: 1.031 kB / 296.2 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.01017, allocations: 36.31 kB / 296.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.01019, allocations: 18.06 kB / 296.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01019, allocations: 1.25 kB / 296.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.0102, allocations: 10.41 kB / 296.3 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005576/0.01076, allocations: 1.219 MB / 297.5 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01076, allocations: 2.75 kB / 297.5 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.01089, allocations: 275.3 kB / 297.8 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.0109, allocations: 3.5 kB / 297.8 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.01095, allocations: 4.156 kB / 297.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.01096, allocations: 14.52 kB / 297.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.01097, allocations: 0 / 297.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.231e-05/0.011, allocations: 57.19 kB / 297.9 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.011, allocations: 0 / 297.9 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.01119, allocations: 55.89 kB / 297.9 MB, free: 0.5547 MB / 282.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 5.539e-05/0.01124, allocations: 84.34 kB / 298 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.01137, allocations: 90.2 kB / 298.1 MB, free: 376 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.01137, allocations: 4 kB / 298.1 MB, free: 372 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.01146, allocations: 107.8 kB / 298.2 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.0117, allocations: 265.8 kB / 298.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.01546, allocations: 449.4 kB / 298.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.0155, allocations: 91.91 kB / 299 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.136e-05/0.01555, allocations: 17.64 kB / 299 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.01561, allocations: 75.36 kB / 299.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01561, allocations: 0 / 299.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of Templates: time 0.003118/0.01873, allocations: 1.605 MB / 300.7 MB, free: 13.71 MB / 298.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.4243823355063796]