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.002454/0.002459, allocations: 353.2 kB / 16.57 MB, free: 5.59 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.357/3.357, allocations: 388.9 MB / 406.2 MB, free: 11.98 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.003246/0.003246, allocations: 227.9 kB / 451.6 MB, free: 14.57 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.6125/0.6125, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004857, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06714/0.06765, allocations: 53.22 MB / 0.6736 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.006263/0.07396, allocations: 6.708 MB / 0.6802 GB, free: 54.07 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004269/0.07826, allocations: 2.628 MB / 0.6827 GB, free: 51.44 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005756/0.07888, allocations: 43.69 kB / 0.6828 GB, free: 51.39 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.07938, allocations: 158.9 kB / 0.6829 GB, free: 51.24 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.08058, allocations: 0.5832 MB / 0.6835 GB, free: 50.65 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009893/0.08159, allocations: 427.1 kB / 0.6839 GB, free: 50.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.08309, allocations: 2.007 MB / 0.6859 GB, free: 48.22 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.08418, allocations: 0.828 MB / 0.6867 GB, free: 47.36 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006515/0.08485, allocations: 0.6072 MB / 0.6873 GB, free: 46.75 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.08592, allocations: 0.9196 MB / 0.6882 GB, free: 45.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.08611, allocations: 64 kB / 0.6882 GB, free: 45.76 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009108/0.08703, allocations: 0.5616 MB / 0.6888 GB, free: 45.2 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005245/0.08757, allocations: 0.5534 MB / 0.6893 GB, free: 44.64 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.08781, allocations: 225.2 kB / 0.6895 GB, free: 44.42 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.089, allocations: 1.539 MB / 0.691 GB, free: 42.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.561e-06/0.08902, allocations: 0 / 0.691 GB, free: 42.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.08903, allocations: 0 / 0.691 GB, free: 42.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.08905, allocations: 0 / 0.691 GB, free: 42.88 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.00397/0.09303, allocations: 1.729 MB / 0.6927 GB, free: 41.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.09307, allocations: 8.828 kB / 0.6927 GB, free: 41.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.09383, allocations: 170.6 kB / 0.6929 GB, free: 40.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.096, allocations: 0.9235 MB / 0.6938 GB, free: 39.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005824/0.0966, allocations: 0.5178 MB / 0.6943 GB, free: 39.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.09689, allocations: 103.9 kB / 0.6944 GB, free: 39.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004202/0.1011, allocations: 2.112 MB / 0.6964 GB, free: 37.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.1012, allocations: 4 kB / 0.6965 GB, free: 37.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.1013, allocations: 39.97 kB / 0.6965 GB, free: 37.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002331/0.1016, allocations: 85.95 kB / 0.6966 GB, free: 36.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005321/0.1069, allocations: 2.404 MB / 0.6989 GB, free: 34.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009573/0.1165, allocations: 5.765 MB / 0.7046 GB, free: 28.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00492/0.1214, allocations: 1.953 MB / 0.7065 GB, free: 26.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/0.1244, allocations: 1.242 MB / 0.7077 GB, free: 25.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.1245, allocations: 20.98 kB / 0.7077 GB, free: 25.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003279/0.1278, allocations: 1.477 MB / 0.7091 GB, free: 23.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=123): time 4.389e-06/0.1278, allocations: 4 kB / 0.7091 GB, free: 23.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.01404/0.1419, allocations: 6.095 MB / 0.7151 GB, free: 17.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.1419, allocations: 106.1 kB / 0.7152 GB, free: 17.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/0.1425, allocations: 493.9 kB / 0.7157 GB, free: 17.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.1427, allocations: 57.7 kB / 0.7157 GB, free: 17.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.1429, allocations: 360.7 kB / 0.7161 GB, free: 16.72 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/0.1433, allocations: 425.9 kB / 0.7165 GB, free: 16.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/0.1434, allocations: 24 kB / 0.7165 GB, free: 16.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1436, allocations: 394.7 kB / 0.7169 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/0.1457, allocations: 1.084 MB / 0.7179 GB, free: 14.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.148, allocations: 1.227 MB / 0.7191 GB, free: 13.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.1502, allocations: 1.12 MB / 0.7202 GB, free: 12.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1502, allocations: 0 / 0.7202 GB, free: 12.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01226/0.1625, allocations: 4.376 MB / 0.7245 GB, free: 8.008 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.124e-05/0.1626, allocations: 61.67 kB / 0.7245 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.1627, allocations: 4 kB / 0.7246 GB, free: 7.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007109/0.1698, allocations: 2.226 MB / 0.7267 GB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/0.1707, allocations: 195.7 kB / 0.7269 GB, free: 5.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2534/0.4241, allocations: 11.68 MB / 0.7383 GB, free: 126.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4256, allocations: 208.2 kB / 0.7385 GB, free: 126.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/0.4258, allocations: 81.28 kB / 0.7386 GB, free: 126.1 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 (112): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 7 * 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 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0006825/0.4265, allocations: 372.2 kB / 0.739 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.4268, allocations: 81.09 kB / 0.739 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006856/0.4336, allocations: 2.563 MB / 0.7415 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-05/0.4337, allocations: 31.3 kB / 0.7416 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.913e-06/0.4337, allocations: 0 / 0.7416 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.4338, allocations: 6.859 kB / 0.7416 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009875/0.4437, allocations: 4.303 MB / 0.7458 GB, free: 124.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.4437, allocations: 4.859 kB / 0.7458 GB, free: 124.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01339/0.4571, allocations: 2.855 MB / 0.7486 GB, free: 124.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.995e-05/0.4572, allocations: 6.594 kB / 0.7486 GB, free: 124.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000244/0.4574, allocations: 42.36 kB / 0.7486 GB, free: 124.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/0.4574, allocations: 9.859 kB / 0.7486 GB, free: 124.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.878e-06/0.4575, allocations: 2.062 kB / 0.7486 GB, free: 124.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009701/0.4672, allocations: 4.151 MB / 0.7527 GB, free: 122.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006741/0.4679, allocations: 345.3 kB / 0.753 GB, free: 122.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.4681, allocations: 87.3 kB / 0.7531 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.4697, allocations: 243.7 kB / 0.7533 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004371/0.4702, allocations: 198.2 kB / 0.7535 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.4703, allocations: 42.78 kB / 0.7536 GB, free: 122.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004249/0.4707, allocations: 342.8 kB / 0.7539 GB, free: 122.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.99e-07/0.4708, allocations: 0 / 0.7539 GB, free: 122.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001267/0.472, allocations: 361.7 kB / 0.7542 GB, free: 122.5 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 (113): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003612/0.4724, allocations: 195.9 kB / 0.7544 GB, free: 122.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007866/0.4803, allocations: 3.847 MB / 0.7582 GB, free: 120.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.619e-06/0.4803, allocations: 0 / 0.7582 GB, free: 120.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007204/0.4875, allocations: 2.295 MB / 0.7604 GB, free: 120.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.4888, allocations: 169.2 kB / 0.7606 GB, free: 120.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007109/0.4959, allocations: 3.791 MB / 0.7643 GB, free: 118.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.4966, allocations: 1.162 MB / 0.7654 GB, free: 117.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001161/0.4978, allocations: 322.8 kB / 0.7657 GB, free: 117.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.4983, allocations: 71.89 kB / 0.7658 GB, free: 117.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.512e-06/0.4983, allocations: 0 / 0.7658 GB, free: 117.6 MB / 442.7 MB Notification: Performance of Templates: time 0.03874/0.537, allocations: 25.09 MB / 0.7903 GB, free: 99.34 MB / 442.7 MB