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.001737/0.001737, allocations: 182.6 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.543/1.543, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001878/0.001879, allocations: 114.2 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.1635/0.1635, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.993e-05, allocations: 8 kB / 397.5 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2781, allocations: 53.21 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4055, allocations: 92.51 MB / 0.5305 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.4059, allocations: 95.94 kB / 0.5306 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2682/0.6741, allocations: 9.921 MB / 0.5403 GB, free: 87.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6741, allocations: 0 / 0.5403 GB, free: 87.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.616e-05/0.6742, allocations: 14.16 kB / 0.5403 GB, free: 87.25 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009146/0.6751, allocations: 0.577 MB / 0.5409 GB, free: 86.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.6751, allocations: 9.531 kB / 0.5409 GB, free: 86.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.628e-05/0.6752, allocations: 43.44 kB / 0.5409 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.6766, allocations: 0.6068 MB / 0.5415 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.6767, allocations: 20.44 kB / 0.5416 GB, free: 86.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.6768, allocations: 31.7 kB / 0.5416 GB, free: 86.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.6772, allocations: 331.5 kB / 0.5419 GB, free: 85.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.6772, allocations: 10.95 kB / 0.5419 GB, free: 85.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.6773, allocations: 15.09 kB / 0.5419 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.6773, allocations: 6.469 kB / 0.5419 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.6776, allocations: 195.5 kB / 0.5421 GB, free: 85.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.6788, allocations: 1.489 MB / 0.5436 GB, free: 84.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.6791, allocations: 201.5 kB / 0.5438 GB, free: 84.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.456e-05/0.6792, allocations: 77.03 kB / 0.5438 GB, free: 84.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.6793, allocations: 3.812 kB / 0.5438 GB, free: 84.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.6793, allocations: 38.5 kB / 0.5439 GB, free: 84.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.6793, allocations: 3.812 kB / 0.5439 GB, free: 84.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001043/0.6804, allocations: 0.8298 MB / 0.5447 GB, free: 83.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.6804, allocations: 136.4 kB / 0.5448 GB, free: 83.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.6806, allocations: 275 kB / 0.5451 GB, free: 83.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.6807, allocations: 29.7 kB / 0.5451 GB, free: 83.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/0.6808, allocations: 211.3 kB / 0.5453 GB, free: 82.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.6808, allocations: 66.73 kB / 0.5454 GB, free: 82.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.6808, allocations: 7.875 kB / 0.5454 GB, free: 82.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.918e-05/0.6809, allocations: 342.5 kB / 0.5457 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.681, allocations: 47.12 kB / 0.5458 GB, free: 82.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.6811, allocations: 151 kB / 0.5459 GB, free: 82.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.6812, allocations: 78.77 kB / 0.546 GB, free: 82.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6812, allocations: 3.75 kB / 0.546 GB, free: 82.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002944/0.6815, allocations: 254.9 kB / 0.5462 GB, free: 82.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6815, allocations: 7.781 kB / 0.5462 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6815, allocations: 3.938 kB / 0.5462 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.6816, allocations: 7.906 kB / 0.5462 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.6819, allocations: 86.33 kB / 0.5463 GB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005397/0.6824, allocations: 1.278 MB / 0.5476 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.6826, allocations: 15.72 kB / 0.5476 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.6826, allocations: 11.97 kB / 0.5476 GB, free: 80.82 MB / 378.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 () * 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 6.244e-05/0.6827, allocations: 128.6 kB / 0.5477 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.6828, allocations: 39.31 kB / 0.5478 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.683, allocations: 195.3 kB / 0.5479 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6831, allocations: 3.938 kB / 0.5479 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.6831, allocations: 0 / 0.5479 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6831, allocations: 0 / 0.5479 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.6837, allocations: 0.5545 MB / 0.5485 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.6837, allocations: 0 / 0.5485 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.6839, allocations: 46.98 kB / 0.5485 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.6839, allocations: 0 / 0.5485 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.684, allocations: 7.906 kB / 0.5485 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.684, allocations: 0 / 0.5485 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.684, allocations: 3.594 kB / 0.5485 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.6844, allocations: 0.5226 MB / 0.5491 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.6844, allocations: 108.7 kB / 0.5492 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.6845, allocations: 8 kB / 0.5492 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.6847, allocations: 11.95 kB / 0.5492 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.6847, allocations: 11.98 kB / 0.5492 GB, free: 79.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.6847, allocations: 4 kB / 0.5492 GB, free: 79.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.6849, allocations: 222.2 kB / 0.5494 GB, free: 79.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6849, allocations: 0 / 0.5494 GB, free: 79.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003912/0.6853, allocations: 60 kB / 0.5495 GB, free: 79.11 MB / 378.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 () * 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.0001752/0.6854, allocations: 138.9 kB / 0.5496 GB, free: 78.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.6857, allocations: 163.7 kB / 0.5497 GB, free: 78.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6858, allocations: 0 / 0.5497 GB, free: 78.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.812e-05/0.6858, allocations: 63.94 kB / 0.5498 GB, free: 78.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.6864, allocations: 86.16 kB / 0.5499 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009259/0.6873, allocations: 0.604 MB / 0.5505 GB, free: 78.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.6875, allocations: 0.807 MB / 0.5513 GB, free: 77.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.6877, allocations: 58.92 kB / 0.5513 GB, free: 77.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.6878, allocations: 27.44 kB / 0.5514 GB, free: 77.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6878, allocations: 0 / 0.5514 GB, free: 77.11 MB / 378.7 MB Notification: Performance of Templates: time 0.006254/0.694, allocations: 3.557 MB / 0.5548 GB, free: 73.58 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)