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.001276/0.001276, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.72/1.72, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001795/0.001796, allocations: 122.3 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2211/0.2211, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.626e-05/4.646e-05, allocations: 4 kB / 397.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3817, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.5251, allocations: 89.28 MB / 0.5274 GB, free: 4.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.5255, allocations: 83.95 kB / 0.5275 GB, free: 3.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3411/0.8666, allocations: 9.747 MB / 0.537 GB, free: 87.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.8666, allocations: 0 / 0.537 GB, free: 87.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.207e-05/0.8667, allocations: 6.016 kB / 0.537 GB, free: 87.18 MB / 378.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.0009211/0.8676, allocations: 467.1 kB / 0.5374 GB, free: 86.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.737e-05/0.8677, allocations: 9.344 kB / 0.5374 GB, free: 86.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008572/0.8686, allocations: 88.98 kB / 0.5375 GB, free: 86.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.869, allocations: 267 kB / 0.5378 GB, free: 86.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.8691, allocations: 11.73 kB / 0.5378 GB, free: 86.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.8691, allocations: 19.62 kB / 0.5378 GB, free: 86.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.8697, allocations: 262.4 kB / 0.5381 GB, free: 86.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.8697, allocations: 1.25 kB / 0.5381 GB, free: 86.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.8697, allocations: 11.69 kB / 0.5381 GB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/0.8698, allocations: 18.12 kB / 0.5381 GB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.8702, allocations: 199.6 kB / 0.5383 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.8719, allocations: 1.212 MB / 0.5395 GB, free: 85.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.8722, allocations: 117.5 kB / 0.5396 GB, free: 85.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/0.8723, allocations: 47.5 kB / 0.5396 GB, free: 85.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.8723, allocations: 2 kB / 0.5396 GB, free: 85.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.8723, allocations: 35.69 kB / 0.5397 GB, free: 85.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.8723, allocations: 0 / 0.5397 GB, free: 85.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.000301/0.8726, allocations: 119.5 kB / 0.5398 GB, free: 85.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.8727, allocations: 82.23 kB / 0.5398 GB, free: 84.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.8729, allocations: 187.3 kB / 0.54 GB, free: 84.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.8729, allocations: 30.77 kB / 0.5401 GB, free: 84.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.873, allocations: 153.9 kB / 0.5402 GB, free: 84.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.873, allocations: 50.39 kB / 0.5403 GB, free: 84.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.873, allocations: 4.969 kB / 0.5403 GB, free: 84.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.8731, allocations: 329 kB / 0.5406 GB, free: 84.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.8732, allocations: 39.25 kB / 0.5406 GB, free: 84.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.8733, allocations: 116.2 kB / 0.5407 GB, free: 84.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.8734, allocations: 59.08 kB / 0.5408 GB, free: 84.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8735, allocations: 1.094 kB / 0.5408 GB, free: 84.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003018/0.8738, allocations: 198.8 kB / 0.541 GB, free: 84.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.8738, allocations: 5 kB / 0.541 GB, free: 84.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8738, allocations: 3.188 kB / 0.541 GB, free: 84.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.8738, allocations: 3.969 kB / 0.541 GB, free: 84.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.874, allocations: 54.09 kB / 0.541 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.8741, allocations: 3.312 kB / 0.541 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.8742, allocations: 14.88 kB / 0.541 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.8742, allocations: 12.28 kB / 0.5411 GB, free: 84.04 MB / 378.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 () * 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 7.053e-05/0.8743, allocations: 120.1 kB / 0.5412 GB, free: 83.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.8744, allocations: 26.67 kB / 0.5412 GB, free: 83.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.8746, allocations: 132.9 kB / 0.5413 GB, free: 83.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.8747, allocations: 6.062 kB / 0.5413 GB, free: 83.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8747, allocations: 0.625 kB / 0.5413 GB, free: 83.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8747, allocations: 0.5 kB / 0.5413 GB, free: 83.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007788/0.8755, allocations: 0.5307 MB / 0.5419 GB, free: 83.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.8755, allocations: 5.781 kB / 0.5419 GB, free: 83.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.8757, allocations: 34.67 kB / 0.5419 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.8757, allocations: 2.688 kB / 0.5419 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.8757, allocations: 7.375 kB / 0.5419 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.8757, allocations: 2.688 kB / 0.5419 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.8757, allocations: 2.156 kB / 0.5419 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/0.8762, allocations: 408.5 kB / 0.5423 GB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.8762, allocations: 95.2 kB / 0.5424 GB, free: 82.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.8763, allocations: 11.39 kB / 0.5424 GB, free: 82.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.8764, allocations: 2.156 kB / 0.5424 GB, free: 82.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.8764, allocations: 21.48 kB / 0.5424 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.8765, allocations: 8.297 kB / 0.5424 GB, free: 82.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.8766, allocations: 147 kB / 0.5426 GB, free: 82.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8766, allocations: 0 / 0.5426 GB, free: 82.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003916/0.877, allocations: 47.94 kB / 0.5426 GB, free: 82.78 MB / 378.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 () * 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.0001605/0.8772, allocations: 107.4 kB / 0.5427 GB, free: 82.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.8775, allocations: 118.5 kB / 0.5428 GB, free: 82.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.8775, allocations: 0.625 kB / 0.5428 GB, free: 82.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.8776, allocations: 53.89 kB / 0.5429 GB, free: 82.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.878, allocations: 29.7 kB / 0.5429 GB, free: 82.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.8787, allocations: 410.5 kB / 0.5433 GB, free: 82.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.879, allocations: 0.7516 MB / 0.544 GB, free: 81.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.8791, allocations: 30.58 kB / 0.5441 GB, free: 81.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.8792, allocations: 20.91 kB / 0.5441 GB, free: 81.58 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.8792, allocations: 1.062 kB / 0.5441 GB, free: 81.58 MB / 378.7 MB Notification: Performance of Templates: time 0.003865/0.8831, allocations: 1.233 MB / 0.5453 GB, free: 81.35 MB / 378.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)