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.001033/0.001033, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.002335/0.002335, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.121/1.121, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2783/0.2783, allocations: 29.42 MB / 291.2 MB, free: 2.387 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.354e-06/2.354e-06, allocations: 7.922 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.325e-05, allocations: 5.266 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.003509/0.003532, allocations: 3.448 MB / 373.6 MB, free: 7.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.004746, allocations: 1.02 MB / 374.6 MB, free: 6.191 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.004883, allocations: 11.88 kB / 374.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.005353, allocations: 151.2 kB / 374.7 MB, free: 6.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.005664, allocations: 187 kB / 374.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.005878, allocations: 127.5 kB / 375 MB, free: 5.723 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.006135, allocations: 290.8 kB / 375.3 MB, free: 5.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.006334, allocations: 118.3 kB / 375.4 MB, free: 5.324 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.006573, allocations: 171.5 kB / 375.6 MB, free: 5.156 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.006734, allocations: 99.67 kB / 375.7 MB, free: 5.059 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.006753, allocations: 12 kB / 375.7 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.006981, allocations: 191.4 kB / 375.9 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.007041, allocations: 71.77 kB / 376 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.007101, allocations: 67.83 kB / 376 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.007378, allocations: 243.1 kB / 376.3 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.007381, allocations: 0 / 376.3 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.007381, allocations: 0 / 376.3 MB, free: 4.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.007386, allocations: 0 / 376.3 MB, free: 4.484 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.0004678/0.007853, allocations: 0.5271 MB / 376.8 MB, free: 3.922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.00789, allocations: 15.92 kB / 376.8 MB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.008271, allocations: 100.7 kB / 376.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.008487, allocations: 208.2 kB / 377.1 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.008505, allocations: 16.69 kB / 377.1 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.008535, allocations: 16.31 kB / 377.2 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.00874, allocations: 193.4 kB / 377.3 MB, free: 3.328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.008755, allocations: 192 / 377.3 MB, free: 3.328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.00877, allocations: 12.12 kB / 377.4 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.008796, allocations: 20.23 kB / 377.4 MB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.008912, allocations: 96.38 kB / 377.5 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.009807, allocations: 1.199 MB / 378.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.009955, allocations: 98.2 kB / 378.8 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.009992, allocations: 31.42 kB / 378.8 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.01001, allocations: 8 kB / 378.8 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.01004, allocations: 41.33 kB / 378.8 MB, free: 1.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.01004, allocations: 0 / 378.8 MB, free: 1.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002289/0.01027, allocations: 104.6 kB / 378.9 MB, free: 1.605 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.01031, allocations: 81.11 kB / 379 MB, free: 1.508 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.01044, allocations: 234.5 kB / 379.3 MB, free: 1.258 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.01046, allocations: 25.7 kB / 379.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.01056, allocations: 210.8 kB / 379.5 MB, free: 1.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.01059, allocations: 47.62 kB / 379.5 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.01064, allocations: 43.34 kB / 379.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.01077, allocations: 0.5079 MB / 380.1 MB, free: 404 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.01079, allocations: 19.98 kB / 380.1 MB, free: 384 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.01089, allocations: 138.8 kB / 380.2 MB, free: 196 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.01107, allocations: 164 kB / 380.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01107, allocations: 0 / 380.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002453/0.01131, allocations: 153.3 kB / 380.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.01133, allocations: 8 kB / 380.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.01134, allocations: 4.344 kB / 380.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.01136, allocations: 8 kB / 380.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.01156, allocations: 47.91 kB / 380.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007651/0.01232, allocations: 1.79 MB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.01239, allocations: 23.77 kB / 382.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.01241, allocations: 11.98 kB / 382.4 MB, free: 13.82 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 9.14e-05/0.0125, allocations: 168.6 kB / 382.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.01253, allocations: 23.91 kB / 382.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.01264, allocations: 98.61 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01264, allocations: 0 / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01265, allocations: 11.92 kB / 382.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01265, allocations: 3.938 kB / 382.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.01301, allocations: 393.1 kB / 383.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01302, allocations: 0 / 383.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.0131, allocations: 35.92 kB / 383.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01311, allocations: 0 / 383.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.01312, allocations: 12 kB / 383.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006265/0.01374, allocations: 1.798 MB / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01375, allocations: 0 / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.01393, allocations: 298.7 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.01395, allocations: 15.89 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.01396, allocations: 8.156 kB / 385.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.01401, allocations: 7.938 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.01403, allocations: 11.98 kB / 385.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01403, allocations: 4 kB / 385.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.121e-05/0.01409, allocations: 165.1 kB / 385.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01409, allocations: 0 / 385.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.01433, allocations: 47.89 kB / 385.5 MB, free: 10.55 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 0.0001146/0.01444, allocations: 95.25 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.01461, allocations: 103.5 kB / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01461, allocations: 0 / 385.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.116e-05/0.01467, allocations: 50.95 kB / 385.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.01494, allocations: 23.98 kB / 385.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009411/0.01588, allocations: 468.6 kB / 386.2 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.466e-05/0.01594, allocations: 87.97 kB / 386.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.68e-05/0.01599, allocations: 21.45 kB / 386.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.01606, allocations: 90.2 kB / 386.4 MB, free: 9.551 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01607, allocations: 0 / 386.4 MB, free: 9.551 MB / 362.7 MB Notification: Performance of Templates: time 0.003973/0.02004, allocations: 1.485 MB / 387.9 MB, free: 8.086 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: 3.0443182177841663]