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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.166/1.166, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001815/0.001815, allocations: 119.2 kB / 256.9 MB, free: 4.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1629/0.1629, allocations: 38 MB / 340.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 8 kB / 403.8 MB, free: 68.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08073/0.0811, allocations: 53.24 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2926/0.3738, allocations: 89.36 MB / 0.5336 GB, free: 6.301 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.3741, allocations: 91.44 kB / 0.5337 GB, free: 6.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02186/0.396, allocations: 9.797 MB / 0.5432 GB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.396, allocations: 0 / 0.5432 GB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.3961, allocations: 4 kB / 0.5432 GB, free: 14.08 MB / 362.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.0006607/0.3967, allocations: 489.7 kB / 0.5437 GB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3968, allocations: 16 kB / 0.5437 GB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006942/0.3975, allocations: 87.62 kB / 0.5438 GB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3979, allocations: 268 kB / 0.544 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3979, allocations: 15.44 kB / 0.5441 GB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.3979, allocations: 18.75 kB / 0.5441 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.3983, allocations: 247.9 kB / 0.5443 GB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3983, allocations: 0 / 0.5443 GB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.3984, allocations: 19.52 kB / 0.5443 GB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.3984, allocations: 11.83 kB / 0.5443 GB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.3987, allocations: 205 kB / 0.5445 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.4, allocations: 1.205 MB / 0.5457 GB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.4002, allocations: 136.9 kB / 0.5458 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.4003, allocations: 0 / 0.5458 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.4003, allocations: 38.31 kB / 0.5459 GB, free: 11.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.4003, allocations: 0 / 0.5459 GB, free: 11.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003295/0.4006, allocations: 152.5 kB / 0.546 GB, free: 11.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.4007, allocations: 81.11 kB / 0.5461 GB, free: 11.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.4009, allocations: 183 kB / 0.5463 GB, free: 11.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.4009, allocations: 25.7 kB / 0.5463 GB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.401, allocations: 160.9 kB / 0.5465 GB, free: 10.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.401, allocations: 42.39 kB / 0.5465 GB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.401, allocations: 7.406 kB / 0.5465 GB, free: 10.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4012, allocations: 325.6 kB / 0.5468 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.474e-05/0.4012, allocations: 50.41 kB / 0.5469 GB, free: 10.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.4013, allocations: 111.1 kB / 0.547 GB, free: 10.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.396e-05/0.4015, allocations: 64.64 kB / 0.547 GB, free: 10.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4015, allocations: 0 / 0.547 GB, free: 10.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002635/0.4017, allocations: 195.7 kB / 0.5472 GB, free: 10.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4018, allocations: 8 kB / 0.5472 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4018, allocations: 4 kB / 0.5472 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4018, allocations: 4 kB / 0.5472 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.402, allocations: 50.41 kB / 0.5473 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.402, allocations: 7.938 kB / 0.5473 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4021, allocations: 22.81 kB / 0.5473 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.4022, allocations: 11.91 kB / 0.5473 GB, free: 10.09 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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.4023, allocations: 151 kB / 0.5475 GB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.4023, allocations: 19.81 kB / 0.5475 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.4026, allocations: 125.3 kB / 0.5476 GB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4026, allocations: 4 kB / 0.5476 GB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4026, allocations: 4 kB / 0.5476 GB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4026, allocations: 0 / 0.5476 GB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.4032, allocations: 0.5387 MB / 0.5481 GB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4033, allocations: 0 / 0.5481 GB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.4034, allocations: 31.92 kB / 0.5482 GB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4034, allocations: 4 kB / 0.5482 GB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.4034, allocations: 2.562 kB / 0.5482 GB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4034, allocations: 4 kB / 0.5482 GB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4035, allocations: 8.188 kB / 0.5482 GB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.4038, allocations: 415.1 kB / 0.5486 GB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.4039, allocations: 99.89 kB / 0.5487 GB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.4039, allocations: 7.984 kB / 0.5487 GB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.404, allocations: 7.375 kB / 0.5487 GB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.4041, allocations: 19.7 kB / 0.5487 GB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.4041, allocations: 7.984 kB / 0.5487 GB, free: 8.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.4042, allocations: 145.1 kB / 0.5489 GB, free: 8.535 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.233e-06/0.4042, allocations: 0 / 0.5489 GB, free: 8.535 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000314/0.4045, allocations: 50.44 kB / 0.5489 GB, free: 8.492 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.4047, allocations: 111.2 kB / 0.549 GB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.4049, allocations: 118.1 kB / 0.5491 GB, free: 8.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4049, allocations: 0 / 0.5491 GB, free: 8.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.405, allocations: 45.11 kB / 0.5492 GB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.4053, allocations: 34.25 kB / 0.5492 GB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008771/0.4062, allocations: 0.6421 MB / 0.5498 GB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.4065, allocations: 0.7477 MB / 0.5506 GB, free: 6.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.829e-05/0.4066, allocations: 37.45 kB / 0.5506 GB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.4067, allocations: 22.38 kB / 0.5506 GB, free: 6.746 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4067, allocations: 0 / 0.5506 GB, free: 6.746 MB / 362.7 MB Notification: Performance of Templates: time 0.003617/0.4103, allocations: 1.227 MB / 0.5518 GB, free: 5.527 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1)