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.002595/0.002601, allocations: 361.4 kB / 17.21 MB, free: 4.926 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.341/3.341, allocations: 388.9 MB / 406.9 MB, free: 6.934 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.003468/0.003468, allocations: 244.4 kB / 452.2 MB, free: 0.5898 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.7441/0.7441, allocations: 76.02 MB / 0.56 GB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004821, allocations: 16 kB / 0.6223 GB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3294, allocations: 53.21 MB / 0.6742 GB, free: 62.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.00879/0.3383, allocations: 7.478 MB / 0.6815 GB, free: 55.14 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005325/0.3436, allocations: 2.386 MB / 0.6839 GB, free: 52.76 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007688/0.3444, allocations: 56.41 kB / 0.6839 GB, free: 52.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.3449, allocations: 146.9 kB / 0.6841 GB, free: 52.56 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.3467, allocations: 0.6209 MB / 0.6847 GB, free: 51.94 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.348, allocations: 391.2 kB / 0.685 GB, free: 51.55 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.3498, allocations: 1.562 MB / 0.6866 GB, free: 49.99 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.3514, allocations: 0.9082 MB / 0.6874 GB, free: 49.04 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008445/0.3523, allocations: 494 kB / 0.6879 GB, free: 48.56 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.3533, allocations: 0.6387 MB / 0.6885 GB, free: 47.92 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.3535, allocations: 48 kB / 0.6886 GB, free: 47.87 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.3545, allocations: 471.2 kB / 0.689 GB, free: 47.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004743/0.355, allocations: 450.9 kB / 0.6895 GB, free: 46.97 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.3553, allocations: 217.2 kB / 0.6897 GB, free: 46.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.3566, allocations: 1.146 MB / 0.6908 GB, free: 45.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3566, allocations: 0 / 0.6908 GB, free: 45.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3566, allocations: 0 / 0.6908 GB, free: 45.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.3566, allocations: 0 / 0.6908 GB, free: 45.6 MB / 346.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.003737/0.3604, allocations: 1.38 MB / 0.6921 GB, free: 44.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3604, allocations: 8.031 kB / 0.6921 GB, free: 44.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.3616, allocations: 170.6 kB / 0.6923 GB, free: 43.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.3631, allocations: 0.6776 MB / 0.693 GB, free: 43.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.3634, allocations: 175 kB / 0.6931 GB, free: 43.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/0.3637, allocations: 107.9 kB / 0.6932 GB, free: 42.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003872/0.3676, allocations: 1.548 MB / 0.6947 GB, free: 41.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/0.3676, allocations: 3.984 kB / 0.6948 GB, free: 41.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.3678, allocations: 35.98 kB / 0.6948 GB, free: 41.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002352/0.3681, allocations: 69.97 kB / 0.6949 GB, free: 41.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003474/0.3715, allocations: 1.183 MB / 0.696 GB, free: 40.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008103/0.3797, allocations: 4.793 MB / 0.7007 GB, free: 35.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004892/0.3846, allocations: 1.201 MB / 0.7019 GB, free: 33.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002081/0.3867, allocations: 0.5852 MB / 0.7024 GB, free: 33.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.597e-05/0.3868, allocations: 12.55 kB / 0.7024 GB, free: 33.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002219/0.389, allocations: 0.7378 MB / 0.7032 GB, free: 32.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=80): time 3.947e-06/0.3891, allocations: 4 kB / 0.7032 GB, free: 32.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=81): time 0.011/0.4001, allocations: 3.303 MB / 0.7064 GB, free: 29.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.4002, allocations: 131.4 kB / 0.7065 GB, free: 28.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008019/0.401, allocations: 0.581 MB / 0.7071 GB, free: 28.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.4011, allocations: 53.69 kB / 0.7071 GB, free: 28.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.4014, allocations: 459 kB / 0.7076 GB, free: 27.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.4017, allocations: 276.2 kB / 0.7078 GB, free: 27.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.4018, allocations: 16 kB / 0.7079 GB, free: 27.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.4019, allocations: 390.8 kB / 0.7082 GB, free: 27.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4029, allocations: 470 kB / 0.7087 GB, free: 26.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.404, allocations: 0.7265 MB / 0.7094 GB, free: 25.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.4052, allocations: 0.5938 MB / 0.71 GB, free: 25.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.4053, allocations: 7.984 kB / 0.71 GB, free: 25.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003286/0.4086, allocations: 1.545 MB / 0.7115 GB, free: 23.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.979e-05/0.4087, allocations: 65.67 kB / 0.7115 GB, free: 23.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00263/0.4113, allocations: 1.301 MB / 0.7128 GB, free: 22.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.4119, allocations: 117.6 kB / 0.7129 GB, free: 22.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.4133, allocations: 195.7 kB / 0.7131 GB, free: 21.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/0.4162, allocations: 3.071 MB / 0.7161 GB, free: 18.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.4173, allocations: 75.84 kB / 0.7162 GB, free: 18.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.4175, allocations: 79.92 kB / 0.7163 GB, free: 18.47 MB / 346.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): 109 * Array equations: 1 * 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%) 2,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006954/0.4182, allocations: 380.8 kB / 0.7166 GB, free: 18.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.4184, allocations: 87 kB / 0.7167 GB, free: 18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/0.4228, allocations: 1.313 MB / 0.718 GB, free: 16.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.4228, allocations: 3.984 kB / 0.718 GB, free: 16.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.4229, allocations: 0 / 0.718 GB, free: 16.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/0.4233, allocations: 248 kB / 0.7182 GB, free: 16.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.4236, allocations: 75.95 kB / 0.7183 GB, free: 16.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.4249, allocations: 115.8 kB / 0.7184 GB, free: 16.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.4251, allocations: 56.58 kB / 0.7185 GB, free: 16.15 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00547/0.4306, allocations: 1.522 MB / 0.72 GB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006198/0.4368, allocations: 2.105 MB / 0.722 GB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001864/0.4387, allocations: 0.548 MB / 0.7225 GB, free: 11.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005822/0.4393, allocations: 394.8 kB / 0.7229 GB, free: 11.57 MB / 346.7 MB Notification: Performance of Backend: time 1.292e-06/0.4393, allocations: 96 / 0.7229 GB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003139/0.4424, allocations: 1.324 MB / 0.7242 GB, free: 10.19 MB / 346.7 MB Notification: Performance of SimCode: time 0.004454/0.4469, allocations: 2.911 MB / 0.7271 GB, free: 7.238 MB / 346.7 MB Notification: Performance of Templates: time 0.03153/0.4785, allocations: 12.4 MB / 0.7392 GB, free: 10.93 MB / 362.7 MB