Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001004/0.001004, allocations: 182 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.344/1.344, 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.001723/0.001723, allocations: 124.4 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1614/0.1614, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.621e-05, allocations: 7.984 kB / 397.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2596, allocations: 53.22 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3499/0.6095, allocations: 96.89 MB / 0.5348 GB, free: 88.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001594/0.6112, allocations: 0.6924 MB / 0.5355 GB, free: 88.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03946/0.6507, allocations: 16.1 MB / 0.5512 GB, free: 77.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6507, allocations: 4 kB / 0.5512 GB, free: 77.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.406e-05/0.6507, allocations: 8 kB / 0.5512 GB, free: 77.69 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001171/0.6519, allocations: 0.792 MB / 0.552 GB, free: 76.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.652, allocations: 8.031 kB / 0.552 GB, free: 76.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.6521, allocations: 67.23 kB / 0.5521 GB, free: 76.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.6535, allocations: 0.7496 MB / 0.5528 GB, free: 75.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.6535, allocations: 33 kB / 0.5528 GB, free: 75.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/0.6536, allocations: 43.98 kB / 0.5529 GB, free: 75.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.6543, allocations: 0.5108 MB / 0.5534 GB, free: 75.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.6543, allocations: 7.938 kB / 0.5534 GB, free: 75.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.6544, allocations: 20 kB / 0.5534 GB, free: 75.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.6544, allocations: 12 kB / 0.5534 GB, free: 75.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.6548, allocations: 318.9 kB / 0.5537 GB, free: 74.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.6568, allocations: 2.077 MB / 0.5557 GB, free: 72.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.6572, allocations: 227.7 kB / 0.556 GB, free: 72.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.6573, allocations: 86.97 kB / 0.556 GB, free: 72.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.6573, allocations: 3.953 kB / 0.556 GB, free: 72.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.6575, allocations: 162.4 kB / 0.5562 GB, free: 72.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.354e-06/0.6576, allocations: 3.938 kB / 0.5562 GB, free: 72.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.001516/0.6591, allocations: 1.091 MB / 0.5573 GB, free: 71.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.6591, allocations: 136.5 kB / 0.5574 GB, free: 70.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.6595, allocations: 363 kB / 0.5577 GB, free: 70.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.6595, allocations: 29.7 kB / 0.5578 GB, free: 70.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.6596, allocations: 300 kB / 0.5581 GB, free: 70.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.6597, allocations: 94.64 kB / 0.5582 GB, free: 70.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/0.6597, allocations: 12 kB / 0.5582 GB, free: 70.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.6598, allocations: 350.8 kB / 0.5585 GB, free: 69.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.6599, allocations: 88.86 kB / 0.5586 GB, free: 69.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.6601, allocations: 217.5 kB / 0.5588 GB, free: 69.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.6603, allocations: 145.6 kB / 0.5589 GB, free: 69.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6603, allocations: 4 kB / 0.5589 GB, free: 69.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000728/0.661, allocations: 480.2 kB / 0.5594 GB, free: 68.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.6611, allocations: 33.7 kB / 0.5594 GB, free: 68.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6611, allocations: 4 kB / 0.5594 GB, free: 68.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/0.6615, allocations: 97.05 kB / 0.5595 GB, free: 68.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.6617, allocations: 75.91 kB / 0.5596 GB, free: 68.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.6633, allocations: 1.68 MB / 0.5612 GB, free: 66.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.6636, allocations: 24 kB / 0.5613 GB, free: 66.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.6636, allocations: 15.98 kB / 0.5613 GB, free: 66.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.6637, allocations: 140.7 kB / 0.5614 GB, free: 66.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.6638, allocations: 43.44 kB / 0.5614 GB, free: 66.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005452/0.6644, allocations: 281.8 kB / 0.5617 GB, free: 66.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6644, allocations: 4 kB / 0.5617 GB, free: 66.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6644, allocations: 7.953 kB / 0.5617 GB, free: 66.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.6644, allocations: 3.984 kB / 0.5617 GB, free: 66.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.6654, allocations: 0.78 MB / 0.5625 GB, free: 65.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.6655, allocations: 4 kB / 0.5625 GB, free: 65.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.6657, allocations: 55.91 kB / 0.5625 GB, free: 65.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/0.6659, allocations: 44.81 kB / 0.5626 GB, free: 65.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.666, allocations: 4 kB / 0.5626 GB, free: 65.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008756/0.6669, allocations: 1.441 MB / 0.564 GB, free: 63.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6669, allocations: 0 / 0.564 GB, free: 63.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/0.6674, allocations: 496.8 kB / 0.5645 GB, free: 63.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.6676, allocations: 136.6 kB / 0.5646 GB, free: 63.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.6676, allocations: 15.95 kB / 0.5646 GB, free: 63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.6678, allocations: 15.98 kB / 0.5646 GB, free: 62.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.6679, allocations: 23.97 kB / 0.5647 GB, free: 62.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.6679, allocations: 7.984 kB / 0.5647 GB, free: 62.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000247/0.6682, allocations: 281.2 kB / 0.5649 GB, free: 62.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6682, allocations: 0 / 0.5649 GB, free: 62.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004841/0.6687, allocations: 127.9 kB / 0.5651 GB, free: 62.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.motor.phi_el,dcm_par.motor.w_el,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00071/0.6694, allocations: 343 kB / 0.5654 GB, free: 62.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006586/0.6701, allocations: 440.2 kB / 0.5658 GB, free: 61.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6701, allocations: 3.938 kB / 0.5658 GB, free: 61.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.6704, allocations: 235.3 kB / 0.566 GB, free: 61.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.671, allocations: 122 kB / 0.5661 GB, free: 61.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.6722, allocations: 0.8968 MB / 0.567 GB, free: 60.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.6725, allocations: 0.8857 MB / 0.5679 GB, free: 59.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002304/0.6727, allocations: 64.23 kB / 0.5679 GB, free: 59.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.6728, allocations: 35.42 kB / 0.568 GB, free: 59.48 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6728, allocations: 0 / 0.568 GB, free: 59.48 MB / 378.7 MB Notification: Performance of Templates: time 0.009865/0.6827, allocations: 6.216 MB / 0.5741 GB, free: 53.26 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1)