Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009675/0.0009673, allocations: 182.4 kB / 16.39 MB, free: 5.742 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.305/1.305, 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.001656/0.001656, allocations: 121.1 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1645/0.1645, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.09543, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3175/0.413, allocations: 92.6 MB / 0.5367 GB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.4133, allocations: 99.61 kB / 0.5368 GB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02487/0.4382, allocations: 9.916 MB / 0.5465 GB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.4382, allocations: 0 / 0.5465 GB, free: 10.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.259e-05/0.4383, allocations: 8 kB / 0.5465 GB, free: 10.14 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009512/0.4392, allocations: 0.6364 MB / 0.5471 GB, free: 9.473 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4393, allocations: 12.02 kB / 0.5471 GB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.994e-05/0.4394, allocations: 43.53 kB / 0.5472 GB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.4406, allocations: 0.6191 MB / 0.5478 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.4407, allocations: 26.88 kB / 0.5478 GB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.4407, allocations: 22.5 kB / 0.5478 GB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.4412, allocations: 342.1 kB / 0.5482 GB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.4412, allocations: 3.953 kB / 0.5482 GB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.4413, allocations: 14.56 kB / 0.5482 GB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.4413, allocations: 8 kB / 0.5482 GB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.4416, allocations: 197 kB / 0.5484 GB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.4431, allocations: 1.503 MB / 0.5498 GB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.4434, allocations: 184.2 kB / 0.55 GB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.4435, allocations: 8.016 kB / 0.55 GB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4435, allocations: 53.3 kB / 0.5501 GB, free: 6.703 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.924e-06/0.4435, allocations: 0 / 0.5501 GB, free: 6.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.00132/0.4448, allocations: 0.8811 MB / 0.5509 GB, free: 5.848 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.4449, allocations: 128.9 kB / 0.5511 GB, free: 5.691 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.4452, allocations: 280.4 kB / 0.5513 GB, free: 5.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.4452, allocations: 25.7 kB / 0.5514 GB, free: 5.426 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.4454, allocations: 215.4 kB / 0.5516 GB, free: 5.266 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.4454, allocations: 75.25 kB / 0.5516 GB, free: 5.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-06/0.4454, allocations: 3.062 kB / 0.5516 GB, free: 5.203 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.4455, allocations: 343.7 kB / 0.552 GB, free: 4.871 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.4456, allocations: 43.3 kB / 0.552 GB, free: 4.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.4458, allocations: 158.8 kB / 0.5522 GB, free: 4.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.4459, allocations: 76.23 kB / 0.5522 GB, free: 4.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4459, allocations: 0 / 0.5522 GB, free: 4.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003417/0.4463, allocations: 266.2 kB / 0.5525 GB, free: 4.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4463, allocations: 4 kB / 0.5525 GB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4463, allocations: 7.938 kB / 0.5525 GB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4463, allocations: 4 kB / 0.5525 GB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.4467, allocations: 82.84 kB / 0.5526 GB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008367/0.4475, allocations: 1.284 MB / 0.5538 GB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.4477, allocations: 14.75 kB / 0.5538 GB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.4477, allocations: 15 kB / 0.5539 GB, free: 2.895 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.4479, allocations: 168.5 kB / 0.554 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.448, allocations: 35.58 kB / 0.5541 GB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.4483, allocations: 190.8 kB / 0.5542 GB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4483, allocations: 4 kB / 0.5542 GB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.4483, allocations: 3.984 kB / 0.5542 GB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4483, allocations: 4 kB / 0.5542 GB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007038/0.449, allocations: 0.5505 MB / 0.5548 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.449, allocations: 0 / 0.5548 GB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.4493, allocations: 47.72 kB / 0.5548 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4493, allocations: 0 / 0.5548 GB, free: 2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.4493, allocations: 7.188 kB / 0.5548 GB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.4493, allocations: 7.938 kB / 0.5548 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4493, allocations: 0 / 0.5548 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.4498, allocations: 0.5284 MB / 0.5554 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.4499, allocations: 108.7 kB / 0.5555 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.4499, allocations: 11 kB / 0.5555 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.4501, allocations: 2.562 kB / 0.5555 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.4501, allocations: 23.31 kB / 0.5555 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.4502, allocations: 4 kB / 0.5555 GB, free: 1.332 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.4504, allocations: 218.9 kB / 0.5557 GB, free: 1.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4504, allocations: 0 / 0.5557 GB, free: 1.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004289/0.4508, allocations: 70.36 kB / 0.5558 GB, free: 1.102 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (motor.phi_el,motor.w_el,motor.i) * 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 (21): * Single equations (assignments): 20 * 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.0002071/0.451, allocations: 131.6 kB / 0.5559 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.4514, allocations: 163.1 kB / 0.5561 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4514, allocations: 0 / 0.5561 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.4515, allocations: 73.22 kB / 0.5561 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006037/0.4521, allocations: 79.7 kB / 0.5562 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.4539, allocations: 1.012 MB / 0.5572 GB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.4542, allocations: 0.8168 MB / 0.558 GB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.4545, allocations: 50.94 kB / 0.558 GB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.4545, allocations: 27.44 kB / 0.5581 GB, free: 14.82 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4545, allocations: 0 / 0.5581 GB, free: 14.82 MB / 378.7 MB Notification: Performance of Templates: time 0.006839/0.4614, allocations: 3.418 MB / 0.5614 GB, free: 11.41 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1)