Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002873/0.00288, allocations: 363.6 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.796/3.796, 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.003555/0.003555, allocations: 229.6 kB / 452.2 MB, free: 14.61 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.7472/0.7472, allocations: 76.01 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004689, allocations: 12 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.08984, allocations: 53.23 MB / 0.6742 GB, free: 60.93 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.5427, allocations: 97.04 MB / 0.769 GB, free: 81.56 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.5431, allocations: 99.64 kB / 0.7691 GB, free: 81.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06361/0.6067, allocations: 15.63 MB / 0.7843 GB, free: 78.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6067, allocations: 0 / 0.7843 GB, free: 78.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.525e-05/0.6068, allocations: 11.53 kB / 0.7844 GB, free: 78.01 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003647/0.6105, allocations: 1.113 MB / 0.7854 GB, free: 77.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6105, allocations: 7.719 kB / 0.7855 GB, free: 77.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.6109, allocations: 89.05 kB / 0.7855 GB, free: 77.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00347/0.6143, allocations: 0.9078 MB / 0.7864 GB, free: 76.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006209/0.615, allocations: 340.5 kB / 0.7867 GB, free: 76.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.6153, allocations: 59.73 kB / 0.7868 GB, free: 76.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003696/0.619, allocations: 1.112 MB / 0.7879 GB, free: 76.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.619, allocations: 2.438 kB / 0.7879 GB, free: 76.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.6192, allocations: 25.48 kB / 0.7879 GB, free: 76.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/0.6192, allocations: 15.34 kB / 0.7879 GB, free: 76.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004984/0.6242, allocations: 1.196 MB / 0.7891 GB, free: 75.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007565/0.6318, allocations: 3.249 MB / 0.7923 GB, free: 74.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003871/0.6358, allocations: 0.8438 MB / 0.7931 GB, free: 73.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002533/0.6383, allocations: 0.5876 MB / 0.7937 GB, free: 73.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.354e-05/0.6384, allocations: 10.98 kB / 0.7937 GB, free: 73.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002606/0.6411, allocations: 0.6777 MB / 0.7943 GB, free: 73.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 3.246e-06/0.6411, allocations: 4 kB / 0.7943 GB, free: 73.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.00724/0.6483, allocations: 1.545 MB / 0.7959 GB, free: 73.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.6485, allocations: 150.4 kB / 0.796 GB, free: 72.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006189/0.6491, allocations: 387.9 kB / 0.7964 GB, free: 72.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.6493, allocations: 40.05 kB / 0.7964 GB, free: 72.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.6495, allocations: 294.1 kB / 0.7967 GB, free: 72.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.6497, allocations: 165.8 kB / 0.7968 GB, free: 72.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.6498, allocations: 12.44 kB / 0.7969 GB, free: 72.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6499, allocations: 360.9 kB / 0.7972 GB, free: 72.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.6518, allocations: 492.8 kB / 0.7977 GB, free: 71.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.6538, allocations: 0.5877 MB / 0.7982 GB, free: 71.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.6557, allocations: 0.491 MB / 0.7987 GB, free: 71.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.443e-06/0.6557, allocations: 0 / 0.7987 GB, free: 71.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004204/0.6599, allocations: 1.158 MB / 0.7999 GB, free: 71.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.496e-05/0.66, allocations: 52.19 kB / 0.7999 GB, free: 71.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.66, allocations: 2.719 kB / 0.7999 GB, free: 71.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/0.6601, allocations: 7.406 kB / 0.7999 GB, free: 71.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01219/0.6723, allocations: 1.596 MB / 0.8015 GB, free: 70.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/0.6856, allocations: 4.832 MB / 0.8062 GB, free: 67.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.6871, allocations: 135.9 kB / 0.8063 GB, free: 67.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.6872, allocations: 36.06 kB / 0.8064 GB, free: 67.46 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: 14 ($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.sigdel_t,inverter.modulator.sigdel_t,$PRE.inverter.modulator.t0,inverter.modulator.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005843/0.6878, allocations: 248.9 kB / 0.8066 GB, free: 67.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.688, allocations: 51.75 kB / 0.8066 GB, free: 67.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004961/0.693, allocations: 1.117 MB / 0.8077 GB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.693, allocations: 5.719 kB / 0.8077 GB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.693, allocations: 2.281 kB / 0.8077 GB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.693, allocations: 3.938 kB / 0.8077 GB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007012/0.7001, allocations: 2.261 MB / 0.81 GB, free: 65.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.7001, allocations: 3.984 kB / 0.81 GB, free: 65.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01492/0.7151, allocations: 1.841 MB / 0.8118 GB, free: 64.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/0.7151, allocations: 4 kB / 0.8118 GB, free: 64.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/0.7153, allocations: 13.61 kB / 0.8118 GB, free: 64.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.7153, allocations: 6.438 kB / 0.8118 GB, free: 64.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.7153, allocations: 7.938 kB / 0.8118 GB, free: 64.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007475/0.7228, allocations: 1.875 MB / 0.8136 GB, free: 63.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.7233, allocations: 210.7 kB / 0.8138 GB, free: 63.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.7235, allocations: 29.17 kB / 0.8138 GB, free: 63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.7249, allocations: 127.3 kB / 0.814 GB, free: 62.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/0.7252, allocations: 90.42 kB / 0.8141 GB, free: 62.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/0.7253, allocations: 19.06 kB / 0.8141 GB, free: 62.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003955/0.7257, allocations: 262.1 kB / 0.8143 GB, free: 62.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7257, allocations: 0 / 0.8143 GB, free: 62.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009101/0.7266, allocations: 179.9 kB / 0.8145 GB, free: 62.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.000293/0.7269, allocations: 158.4 kB / 0.8146 GB, free: 62.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01515/0.7421, allocations: 2.623 MB / 0.8172 GB, free: 59.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/0.7422, allocations: 4.125 kB / 0.8172 GB, free: 59.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007278/0.7495, allocations: 1.198 MB / 0.8184 GB, free: 58.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.7508, allocations: 129.1 kB / 0.8185 GB, free: 58.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005831/0.7566, allocations: 1.873 MB / 0.8203 GB, free: 57.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.7572, allocations: 0.9467 MB / 0.8213 GB, free: 56.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001019/0.7582, allocations: 153.6 kB / 0.8214 GB, free: 55.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.7585, allocations: 47.42 kB / 0.8214 GB, free: 55.91 MB / 442.7 MB Notification: Performance of SimCode: time 9.31e-07/0.7585, allocations: 0 / 0.8214 GB, free: 55.91 MB / 442.7 MB Notification: Performance of Templates: time 0.01991/0.7785, allocations: 7.925 MB / 0.8292 GB, free: 48.19 MB / 442.7 MB