Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002645/0.002645, allocations: 364.1 kB / 17.21 MB, free: 4.949 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.709/3.709, allocations: 388.9 MB / 406.8 MB, free: 12 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003523/0.003523, allocations: 231.8 kB / 452.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7642/0.7642, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006031/0.0006033, allocations: 15.98 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.09215, allocations: 53.23 MB / 0.6742 GB, free: 60.85 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.554, allocations: 107.8 MB / 0.7795 GB, free: 81.07 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.5543, allocations: 101.2 kB / 0.7796 GB, free: 81.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1409/0.6952, allocations: 28.13 MB / 0.8071 GB, free: 68.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.6953, allocations: 0 / 0.8071 GB, free: 68.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.211e-05/0.6954, allocations: 21.19 kB / 0.8071 GB, free: 68.92 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.007275/0.7027, allocations: 1.752 MB / 0.8088 GB, free: 67.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.7027, allocations: 8.031 kB / 0.8088 GB, free: 67.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.7042, allocations: 162.6 kB / 0.809 GB, free: 67.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006513/0.7108, allocations: 1.302 MB / 0.8102 GB, free: 66.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/0.7119, allocations: 0.5151 MB / 0.8107 GB, free: 65.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006788/0.7126, allocations: 94.42 kB / 0.8108 GB, free: 65.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007363/0.72, allocations: 2.107 MB / 0.8129 GB, free: 63.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.81e-05/0.7201, allocations: 4 kB / 0.8129 GB, free: 63.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/0.7203, allocations: 35.12 kB / 0.8129 GB, free: 63.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002473/0.7206, allocations: 79.7 kB / 0.813 GB, free: 63.85 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009356/0.7299, allocations: 2.389 MB / 0.8153 GB, free: 62.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/0.746, allocations: 5.762 MB / 0.821 GB, free: 57.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008252/0.7543, allocations: 1.804 MB / 0.8227 GB, free: 56.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005037/0.7594, allocations: 1.302 MB / 0.824 GB, free: 55.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.7596, allocations: 16.98 kB / 0.824 GB, free: 55.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005416/0.7651, allocations: 1.484 MB / 0.8255 GB, free: 54.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=125): time 5.079e-06/0.7651, allocations: 0 / 0.8255 GB, free: 54.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.02562/0.7908, allocations: 6.355 MB / 0.8317 GB, free: 48.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.7909, allocations: 106.1 kB / 0.8318 GB, free: 48.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007858/0.7917, allocations: 497.9 kB / 0.8322 GB, free: 48.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004453/0.7921, allocations: 49.7 kB / 0.8323 GB, free: 48.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.7925, allocations: 364.7 kB / 0.8326 GB, free: 47.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005843/0.7931, allocations: 426 kB / 0.833 GB, free: 47.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.7932, allocations: 23.94 kB / 0.8331 GB, free: 47.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.7934, allocations: 394.7 kB / 0.8334 GB, free: 47.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003785/0.7972, allocations: 1.131 MB / 0.8345 GB, free: 45.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004007/0.8012, allocations: 1.293 MB / 0.8358 GB, free: 44.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003698/0.805, allocations: 1.179 MB / 0.837 GB, free: 43.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.805, allocations: 0 / 0.837 GB, free: 43.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.02047/0.8255, allocations: 4.495 MB / 0.8413 GB, free: 38.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.8256, allocations: 61.67 kB / 0.8414 GB, free: 38.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.8256, allocations: 6.266 kB / 0.8414 GB, free: 38.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01142/0.8371, allocations: 2.129 MB / 0.8435 GB, free: 36.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.8386, allocations: 179.7 kB / 0.8437 GB, free: 36.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04737/0.886, allocations: 13.58 MB / 0.8569 GB, free: 22.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.8886, allocations: 199.9 kB / 0.8571 GB, free: 22.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.8889, allocations: 70.7 kB / 0.8572 GB, free: 22.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 97 * Array equations: 4 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.0009686/0.8899, allocations: 373.6 kB / 0.8575 GB, free: 22.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.8902, allocations: 82.97 kB / 0.8576 GB, free: 21.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.9005, allocations: 2.681 MB / 0.8602 GB, free: 19.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.808e-05/0.9006, allocations: 31.98 kB / 0.8603 GB, free: 19.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.9006, allocations: 4 kB / 0.8603 GB, free: 19.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/0.9007, allocations: 7.969 kB / 0.8603 GB, free: 19.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.9154, allocations: 4.4 MB / 0.8646 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.9154, allocations: 4 kB / 0.8646 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02311/0.9386, allocations: 2.833 MB / 0.8673 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.9388, allocations: 32.84 kB / 0.8674 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004107/0.9392, allocations: 39.97 kB / 0.8674 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.9404, allocations: 1.476 MB / 0.8689 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9404, allocations: 4 kB / 0.8689 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/0.9564, allocations: 4.32 MB / 0.8731 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.9575, allocations: 344.2 kB / 0.8734 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/0.958, allocations: 83.95 kB / 0.8735 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/0.9607, allocations: 243.7 kB / 0.8737 GB, free: 5.082 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006632/0.9614, allocations: 192.6 kB / 0.8739 GB, free: 4.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/0.9616, allocations: 39.97 kB / 0.8739 GB, free: 4.855 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005772/0.9621, allocations: 342.8 kB / 0.8743 GB, free: 4.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9622, allocations: 7.938 kB / 0.8743 GB, free: 4.512 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001834/0.964, allocations: 379.9 kB / 0.8746 GB, free: 4.141 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 4 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006079/0.9646, allocations: 236.1 kB / 0.8749 GB, free: 3.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01162/0.9763, allocations: 3.304 MB / 0.8781 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.9763, allocations: 0 / 0.8781 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01367/0.99, allocations: 2.421 MB / 0.8805 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.992, allocations: 177.2 kB / 0.8806 GB, free: 13.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/1.005, allocations: 3.842 MB / 0.8844 GB, free: 10.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.006, allocations: 1.167 MB / 0.8855 GB, free: 8.883 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001912/1.008, allocations: 309 kB / 0.8858 GB, free: 8.578 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007366/1.009, allocations: 71.41 kB / 0.8859 GB, free: 8.508 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/1.009, allocations: 0 / 0.8859 GB, free: 8.508 MB / 458.7 MB Notification: Performance of Templates: time 0.0566/1.066, allocations: 22.39 MB / 0.9077 GB, free: 2.234 MB / 474.7 MB