Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Inverter.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Inverter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002609/0.002615, allocations: 364.4 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.329/3.329, allocations: 388.9 MB / 406.9 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003475/0.003474, allocations: 220.4 kB / 452.2 MB, free: 0.5781 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7224/0.7224, allocations: 76.03 MB / 0.56 GB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006767/0.000677, allocations: 8 kB / 0.6222 GB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3537, allocations: 53.22 MB / 0.6742 GB, free: 62.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/0.5411, allocations: 107.5 MB / 0.7792 GB, free: 3.047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/0.5415, allocations: 99.94 kB / 0.7793 GB, free: 2.949 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3823/0.9239, allocations: 24 MB / 0.8027 GB, free: 90.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.924, allocations: 0 / 0.8027 GB, free: 90.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.043e-05/0.924, allocations: 23.94 kB / 0.8027 GB, free: 90.93 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.004336/0.9284, allocations: 1.409 MB / 0.8041 GB, free: 89.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.9285, allocations: 12.03 kB / 0.8041 GB, free: 89.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.9299, allocations: 170.6 kB / 0.8043 GB, free: 89.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004134/0.9341, allocations: 1.047 MB / 0.8053 GB, free: 88.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.9344, allocations: 179.1 kB / 0.8055 GB, free: 88.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/0.9348, allocations: 92 kB / 0.8055 GB, free: 87.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004362/0.9391, allocations: 1.541 MB / 0.807 GB, free: 86.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.9392, allocations: 3.938 kB / 0.8071 GB, free: 86.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.9394, allocations: 47.89 kB / 0.8071 GB, free: 86.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.9395, allocations: 53.98 kB / 0.8071 GB, free: 86.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/0.9432, allocations: 1.151 MB / 0.8083 GB, free: 85.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009055/0.9523, allocations: 4.792 MB / 0.813 GB, free: 80.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004848/0.9572, allocations: 1.186 MB / 0.8141 GB, free: 78.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.9593, allocations: 0.5813 MB / 0.8147 GB, free: 78.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.259e-05/0.9593, allocations: 16.5 kB / 0.8147 GB, free: 78.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00228/0.9616, allocations: 0.7339 MB / 0.8154 GB, free: 77.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.677e-06/0.9617, allocations: 0 / 0.8154 GB, free: 77.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=83): time 0.01158/0.9733, allocations: 3.314 MB / 0.8186 GB, free: 74.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.9734, allocations: 131.2 kB / 0.8188 GB, free: 74.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009158/0.9743, allocations: 0.5771 MB / 0.8193 GB, free: 73.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.9745, allocations: 57.69 kB / 0.8194 GB, free: 73.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.9749, allocations: 458.9 kB / 0.8198 GB, free: 72.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.9752, allocations: 275.6 kB / 0.8201 GB, free: 72.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.9753, allocations: 20 kB / 0.8201 GB, free: 72.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.9755, allocations: 386.8 kB / 0.8205 GB, free: 72.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.9766, allocations: 0.4981 MB / 0.821 GB, free: 71.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.9777, allocations: 0.7812 MB / 0.8217 GB, free: 70.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.9791, allocations: 0.6445 MB / 0.8224 GB, free: 70.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.9791, allocations: 4 kB / 0.8224 GB, free: 70.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003504/0.9826, allocations: 1.616 MB / 0.8239 GB, free: 68.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.435e-05/0.9827, allocations: 65.64 kB / 0.824 GB, free: 68.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00283/0.9856, allocations: 1.367 MB / 0.8253 GB, free: 67.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005561/0.9862, allocations: 105.6 kB / 0.8254 GB, free: 66.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.9876, allocations: 195.8 kB / 0.8256 GB, free: 66.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.9903, allocations: 2.989 MB / 0.8285 GB, free: 63.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.9916, allocations: 72.16 kB / 0.8286 GB, free: 63.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/0.9918, allocations: 67.94 kB / 0.8287 GB, free: 63.38 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.ac_dc.modulator.gates[1],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 108 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008639/0.9927, allocations: 376.6 kB / 0.829 GB, free: 63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.993, allocations: 79.05 kB / 0.8291 GB, free: 62.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/0.9975, allocations: 1.302 MB / 0.8304 GB, free: 61.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/0.9975, allocations: 19.94 kB / 0.8304 GB, free: 61.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.9976, allocations: 4 kB / 0.8304 GB, free: 61.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.9976, allocations: 3.984 kB / 0.8304 GB, free: 61.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006797/1.004, allocations: 2.501 MB / 0.8329 GB, free: 59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.004, allocations: 4 kB / 0.8329 GB, free: 59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/1.006, allocations: 143.8 kB / 0.833 GB, free: 58.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/1.006, allocations: 24.84 kB / 0.833 GB, free: 58.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/1.006, allocations: 31.97 kB / 0.833 GB, free: 58.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009178/1.007, allocations: 1.389 MB / 0.8344 GB, free: 57.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.007, allocations: 160 / 0.8344 GB, free: 57.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/1.013, allocations: 2.001 MB / 0.8364 GB, free: 55.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005814/1.014, allocations: 240.1 kB / 0.8366 GB, free: 54.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/1.014, allocations: 79.94 kB / 0.8367 GB, free: 54.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/1.016, allocations: 103.9 kB / 0.8368 GB, free: 54.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/1.016, allocations: 64.52 kB / 0.8368 GB, free: 54.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.716e-05/1.016, allocations: 27.97 kB / 0.8368 GB, free: 54.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006785/1.017, allocations: 394.8 kB / 0.8372 GB, free: 54.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.834e-06/1.017, allocations: 0 / 0.8372 GB, free: 54.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001329/1.018, allocations: 267.8 kB / 0.8375 GB, free: 54.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 61 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004259/1.019, allocations: 200.1 kB / 0.8377 GB, free: 53.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004089/1.023, allocations: 1.679 MB / 0.8393 GB, free: 52.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.023, allocations: 0 / 0.8393 GB, free: 52.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002262/1.025, allocations: 0.6978 MB / 0.84 GB, free: 51.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/1.027, allocations: 160.4 kB / 0.8401 GB, free: 51.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006153/1.033, allocations: 2.807 MB / 0.8429 GB, free: 48.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/1.033, allocations: 1.134 MB / 0.844 GB, free: 47.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001146/1.035, allocations: 242.5 kB / 0.8442 GB, free: 47.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/1.035, allocations: 63.42 kB / 0.8443 GB, free: 46.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/1.035, allocations: 0 / 0.8443 GB, free: 46.96 MB / 394.7 MB Notification: Performance of Templates: time 0.0264/1.061, allocations: 10.02 MB / 0.8541 GB, free: 37.05 MB / 394.7 MB