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.001793/0.001793, allocations: 179.3 kB / 17.4 MB, free: 4.406 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.578/1.578, allocations: 194.5 MB / 212.6 MB, free: 2.93 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.001605/0.001604, allocations: 125.8 kB / 257.9 MB, free: 4.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2305/0.2305, allocations: 38.01 MB / 341.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004054, allocations: 8 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 53.24 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3591/0.4979, allocations: 92.62 MB / 0.538 GB, free: 2.215 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.4983, allocations: 104.2 kB / 0.5381 GB, free: 2.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02655/0.5249, allocations: 9.916 MB / 0.5478 GB, free: 9.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5249, allocations: 0 / 0.5478 GB, free: 9.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.545e-05/0.5249, allocations: 8 kB / 0.5478 GB, free: 9.672 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.001213/0.5262, allocations: 0.6336 MB / 0.5484 GB, free: 9.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5262, allocations: 8.031 kB / 0.5484 GB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.5263, allocations: 40.47 kB / 0.5484 GB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008679/0.5272, allocations: 469.3 kB / 0.5489 GB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.5273, allocations: 15.81 kB / 0.5489 GB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.5274, allocations: 35.06 kB / 0.5489 GB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.5279, allocations: 333.5 kB / 0.5492 GB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.5279, allocations: 8.094 kB / 0.5493 GB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.5279, allocations: 14.38 kB / 0.5493 GB, free: 8.191 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.528, allocations: 8 kB / 0.5493 GB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.5283, allocations: 205.1 kB / 0.5495 GB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.5299, allocations: 1.49 MB / 0.5509 GB, free: 6.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.5304, allocations: 202.6 kB / 0.5511 GB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.5305, allocations: 71.36 kB / 0.5512 GB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.5305, allocations: 8 kB / 0.5512 GB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.5305, allocations: 37.61 kB / 0.5512 GB, free: 6.312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.514e-06/0.5306, allocations: 4 kB / 0.5512 GB, free: 6.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001406/0.532, allocations: 0.8784 MB / 0.5521 GB, free: 5.457 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.5321, allocations: 136.8 kB / 0.5522 GB, free: 5.297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.5324, allocations: 318.3 kB / 0.5525 GB, free: 5.027 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.5324, allocations: 29.7 kB / 0.5526 GB, free: 4.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.5326, allocations: 217.9 kB / 0.5528 GB, free: 4.832 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.5327, allocations: 69.58 kB / 0.5528 GB, free: 4.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.5327, allocations: 6.938 kB / 0.5528 GB, free: 4.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5328, allocations: 345.9 kB / 0.5532 GB, free: 4.434 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.533, allocations: 49.23 kB / 0.5532 GB, free: 4.402 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.5331, allocations: 152 kB / 0.5534 GB, free: 4.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.5334, allocations: 227 kB / 0.5536 GB, free: 4.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5334, allocations: 4 kB / 0.5536 GB, free: 4.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003764/0.5338, allocations: 259.2 kB / 0.5538 GB, free: 3.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.5339, allocations: 8 kB / 0.5538 GB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.5339, allocations: 4 kB / 0.5538 GB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5339, allocations: 4 kB / 0.5538 GB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.5342, allocations: 84.03 kB / 0.5539 GB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008964/0.5351, allocations: 1.276 MB / 0.5552 GB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.5353, allocations: 11.81 kB / 0.5552 GB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.5354, allocations: 19.44 kB / 0.5552 GB, free: 2.297 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.0001744/0.5356, allocations: 170.6 kB / 0.5554 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/0.5357, allocations: 39.59 kB / 0.5554 GB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.536, allocations: 182.1 kB / 0.5556 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.536, allocations: 7.938 kB / 0.5556 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.536, allocations: 4 kB / 0.5556 GB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.536, allocations: 3.984 kB / 0.5556 GB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007617/0.5368, allocations: 0.5464 MB / 0.5561 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5368, allocations: 3.938 kB / 0.5561 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.537, allocations: 47.97 kB / 0.5562 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.537, allocations: 4 kB / 0.5562 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.5371, allocations: 3.562 kB / 0.5562 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.5371, allocations: 4 kB / 0.5562 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5371, allocations: 3.938 kB / 0.5562 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.5375, allocations: 0.4923 MB / 0.5567 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.887e-05/0.5376, allocations: 108.6 kB / 0.5568 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.5377, allocations: 7.734 kB / 0.5568 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.5379, allocations: 7.297 kB / 0.5568 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.5379, allocations: 15.98 kB / 0.5568 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.5379, allocations: 4 kB / 0.5568 GB, free: 0.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002126/0.5382, allocations: 223.5 kB / 0.557 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5382, allocations: 0 / 0.557 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004257/0.5386, allocations: 65.44 kB / 0.5571 GB, free: 0.5625 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.0002228/0.5388, allocations: 130.8 kB / 0.5572 GB, free: 440 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.5392, allocations: 169.2 kB / 0.5574 GB, free: 308 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5392, allocations: 0 / 0.5574 GB, free: 308 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.5393, allocations: 68.55 kB / 0.5574 GB, free: 256 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.5401, allocations: 87.53 kB / 0.5575 GB, free: 188 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.5416, allocations: 1.017 MB / 0.5585 GB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.542, allocations: 0.806 MB / 0.5593 GB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002073/0.5422, allocations: 46.94 kB / 0.5593 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.5423, allocations: 27.44 kB / 0.5594 GB, free: 14.27 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5423, allocations: 0 / 0.5594 GB, free: 14.27 MB / 378.7 MB Notification: Performance of Templates: time 0.007963/0.5503, allocations: 3.464 MB / 0.5627 GB, free: 10.82 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)