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.001256/0.001256, allocations: 191.9 kB / 17.27 MB, free: 4.5 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.333/1.333, allocations: 194.2 MB / 212.2 MB, free: 2.367 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.001734/0.001734, allocations: 127.1 kB / 256.6 MB, free: 4.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1625/0.1625, allocations: 37.95 MB / 338.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.14 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.08163, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.005019/0.08671, allocations: 5.164 MB / 459.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.08853, allocations: 1.722 MB / 460.9 MB, free: 9.648 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.08876, allocations: 27.81 kB / 460.9 MB, free: 9.621 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.08913, allocations: 99.34 kB / 461 MB, free: 9.523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.08968, allocations: 250.6 kB / 461.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.0899, allocations: 99.89 kB / 461.3 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.09047, allocations: 0.6461 MB / 462 MB, free: 8.531 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.09066, allocations: 135.4 kB / 462.1 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.09084, allocations: 183.2 kB / 462.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.09107, allocations: 211.1 kB / 462.5 MB, free: 8.016 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.09111, allocations: 20 kB / 462.5 MB, free: 7.996 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-05/0.09117, allocations: 16 kB / 462.5 MB, free: 7.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.806e-05/0.09126, allocations: 103.6 kB / 462.6 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.09141, allocations: 175 kB / 462.8 MB, free: 7.707 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.09166, allocations: 362.7 kB / 463.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.09167, allocations: 4 kB / 463.2 MB, free: 7.348 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.09168, allocations: 4 kB / 463.2 MB, free: 7.344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.09169, allocations: 0 / 463.2 MB, free: 7.344 MB / 314.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.0008887/0.09259, allocations: 0.6593 MB / 463.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.09263, allocations: 8.031 kB / 463.8 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.0927, allocations: 40.47 kB / 463.9 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.09318, allocations: 391.4 kB / 464.3 MB, free: 6.164 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.09321, allocations: 20.56 kB / 464.3 MB, free: 6.145 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.09326, allocations: 24 kB / 464.3 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.09364, allocations: 334.2 kB / 464.6 MB, free: 5.762 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.09366, allocations: 4 kB / 464.6 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.09369, allocations: 8 kB / 464.6 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.0937, allocations: 8 kB / 464.7 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.09397, allocations: 205.5 kB / 464.9 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.09512, allocations: 1.494 MB / 466.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.09547, allocations: 198.3 kB / 466.5 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.736e-05/0.09558, allocations: 83.48 kB / 466.6 MB, free: 3.625 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.09561, allocations: 0 / 466.6 MB, free: 3.625 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.09565, allocations: 46.53 kB / 466.7 MB, free: 3.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.09565, allocations: 0 / 466.7 MB, free: 3.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001217/0.09688, allocations: 0.8927 MB / 467.6 MB, free: 2.594 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.09695, allocations: 132.5 kB / 467.7 MB, free: 2.434 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.0972, allocations: 317.6 kB / 468 MB, free: 2.113 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.09723, allocations: 29.7 kB / 468 MB, free: 2.078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.09735, allocations: 211.8 kB / 468.2 MB, free: 1.863 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.0974, allocations: 67 kB / 468.3 MB, free: 1.797 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.09747, allocations: 53.7 kB / 468.4 MB, free: 1.738 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.09756, allocations: 346.9 kB / 468.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.012e-05/0.09764, allocations: 43.98 kB / 468.7 MB, free: 1.348 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.09777, allocations: 156.8 kB / 468.9 MB, free: 1.148 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.09799, allocations: 224.7 kB / 469.1 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.098, allocations: 0 / 469.1 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000302/0.09831, allocations: 264.8 kB / 469.4 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.09834, allocations: 8 kB / 469.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.09835, allocations: 7.938 kB / 469.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.09837, allocations: 12.38 kB / 469.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.09869, allocations: 87.89 kB / 469.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007258/0.09943, allocations: 1.278 MB / 470.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.09961, allocations: 11.94 kB / 470.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.09965, allocations: 8 kB / 470.8 MB, free: 15.07 MB / 330.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.09984, allocations: 173.6 kB / 470.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.579e-05/0.09993, allocations: 31.62 kB / 471 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.1003, allocations: 196.8 kB / 471.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.1003, allocations: 4 kB / 471.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1003, allocations: 0 / 471.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1003, allocations: 0 / 471.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007845/0.1011, allocations: 0.5529 MB / 471.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1011, allocations: 4 kB / 471.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.1014, allocations: 43.92 kB / 471.8 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1014, allocations: 7.938 kB / 471.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1014, allocations: 8.031 kB / 471.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1014, allocations: 4 kB / 471.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1014, allocations: 3.984 kB / 471.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.1034, allocations: 1.789 MB / 473.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.322e-05/0.1035, allocations: 108.7 kB / 473.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.1035, allocations: 11.94 kB / 473.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.1037, allocations: 4 kB / 473.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.1038, allocations: 20.02 kB / 473.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1038, allocations: 4 kB / 473.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001965/0.104, allocations: 227.2 kB / 474 MB, free: 11.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.104, allocations: 0 / 474 MB, free: 11.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005383/0.1045, allocations: 84 kB / 474 MB, free: 11.58 MB / 330.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001163/0.1047, allocations: 95.25 kB / 474.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003714/0.105, allocations: 163.7 kB / 474.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.105, allocations: 4 kB / 474.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1052, allocations: 71.84 kB / 474.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/0.1059, allocations: 92.03 kB / 474.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.1075, allocations: 1.12 MB / 475.6 MB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.1078, allocations: 0.8071 MB / 476.4 MB, free: 9.145 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000204/0.108, allocations: 66.86 kB / 476.4 MB, free: 9.082 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.1081, allocations: 27.44 kB / 476.5 MB, free: 9.055 MB / 330.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1081, allocations: 0 / 476.5 MB, free: 9.055 MB / 330.7 MB Notification: Performance of Templates: time 0.006408/0.1145, allocations: 3.352 MB / 479.8 MB, free: 5.703 MB / 330.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)