Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002573/0.002573, 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.759/3.759, allocations: 388.9 MB / 406.8 MB, free: 11.93 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.003504/0.003504, allocations: 241.6 kB / 452.2 MB, free: 14.52 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.8132/0.8132, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004332, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 53.24 MB / 0.6742 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.008414/0.1165, allocations: 7.063 MB / 0.6811 GB, free: 53.71 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004051/0.1206, allocations: 1.731 MB / 0.6828 GB, free: 51.98 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007825/0.1215, allocations: 51.69 kB / 0.6829 GB, free: 51.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.1219, allocations: 127 kB / 0.683 GB, free: 51.8 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.1236, allocations: 489.3 kB / 0.6835 GB, free: 51.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009558/0.1246, allocations: 263.5 kB / 0.6837 GB, free: 51.06 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.1262, allocations: 1.297 MB / 0.685 GB, free: 49.76 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005178/0.1267, allocations: 292.6 kB / 0.6853 GB, free: 49.47 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008036/0.1275, allocations: 402.2 kB / 0.6856 GB, free: 49.07 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009103/0.1284, allocations: 0.4945 MB / 0.6861 GB, free: 48.58 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1286, allocations: 32 kB / 0.6862 GB, free: 48.55 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1287, allocations: 32 kB / 0.6862 GB, free: 48.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.1291, allocations: 299.2 kB / 0.6865 GB, free: 48.22 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.1293, allocations: 165.3 kB / 0.6866 GB, free: 48.05 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007702/0.1301, allocations: 0.6896 MB / 0.6873 GB, free: 47.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1301, allocations: 3.984 kB / 0.6873 GB, free: 47.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1301, allocations: 4 kB / 0.6873 GB, free: 47.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.1301, allocations: 0 / 0.6873 GB, free: 47.36 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002432/0.1326, allocations: 1.016 MB / 0.6883 GB, free: 46.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1326, allocations: 8.031 kB / 0.6883 GB, free: 46.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.1328, allocations: 86.97 kB / 0.6884 GB, free: 46.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.1341, allocations: 0.5524 MB / 0.6889 GB, free: 45.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.1343, allocations: 116.7 kB / 0.689 GB, free: 45.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.1344, allocations: 67.98 kB / 0.6891 GB, free: 45.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.1368, allocations: 0.873 MB / 0.69 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.1368, allocations: 3.938 kB / 0.69 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/0.1369, allocations: 28 kB / 0.69 GB, free: 44.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/0.1371, allocations: 41.28 kB / 0.69 GB, free: 44.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.1391, allocations: 0.6296 MB / 0.6906 GB, free: 43.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005046/0.1442, allocations: 2.758 MB / 0.6933 GB, free: 40.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/0.147, allocations: 0.9485 MB / 0.6943 GB, free: 39.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.1482, allocations: 326.2 kB / 0.6946 GB, free: 39.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.1482, allocations: 8.328 kB / 0.6946 GB, free: 39.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.1493, allocations: 366.5 kB / 0.6949 GB, free: 39.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 3.426e-06/0.1493, allocations: 3.938 kB / 0.6949 GB, free: 39.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.006326/0.1557, allocations: 2.021 MB / 0.6969 GB, free: 37.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1557, allocations: 110.8 kB / 0.697 GB, free: 36.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/0.1564, allocations: 0.5143 MB / 0.6975 GB, free: 36.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.1565, allocations: 37.7 kB / 0.6975 GB, free: 36.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.1568, allocations: 359.7 kB / 0.6979 GB, free: 35.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.1569, allocations: 142 kB / 0.698 GB, free: 35.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.157, allocations: 12 kB / 0.698 GB, free: 35.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.1571, allocations: 370.8 kB / 0.6984 GB, free: 35.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/0.1575, allocations: 213.1 kB / 0.6986 GB, free: 35.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.1581, allocations: 374.2 kB / 0.699 GB, free: 34.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.1587, allocations: 294.4 kB / 0.6992 GB, free: 34.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1587, allocations: 3.938 kB / 0.6992 GB, free: 34.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001681/0.1604, allocations: 0.8628 MB / 0.7001 GB, free: 33.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.969e-05/0.1605, allocations: 53.69 kB / 0.7001 GB, free: 33.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1605, allocations: 8 kB / 0.7001 GB, free: 33.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/0.1609, allocations: 86 kB / 0.7002 GB, free: 33.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.1616, allocations: 107.8 kB / 0.7003 GB, free: 33.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.1642, allocations: 2.985 MB / 0.7032 GB, free: 30.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006225/0.1648, allocations: 35.97 kB / 0.7033 GB, free: 30.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/0.165, allocations: 39.92 kB / 0.7033 GB, free: 30.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.dc_ac.modulator.gates[1],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.t0,dc_ac.modulator.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004502/0.1654, allocations: 277.6 kB / 0.7036 GB, free: 29.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.1655, allocations: 59.25 kB / 0.7036 GB, free: 29.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.1678, allocations: 0.7199 MB / 0.7043 GB, free: 28.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.1679, allocations: 11.92 kB / 0.7043 GB, free: 28.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1679, allocations: 0 / 0.7043 GB, free: 28.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.1681, allocations: 176.3 kB / 0.7045 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.1683, allocations: 27.98 kB / 0.7045 GB, free: 28.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/0.1689, allocations: 47.91 kB / 0.7046 GB, free: 28.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.169, allocations: 31.95 kB / 0.7046 GB, free: 28.61 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002815/0.1719, allocations: 0.903 MB / 0.7055 GB, free: 27.69 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002971/0.1749, allocations: 1.161 MB / 0.7066 GB, free: 26.51 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008877/0.1758, allocations: 263.7 kB / 0.7069 GB, free: 26.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004933/0.1763, allocations: 350.8 kB / 0.7072 GB, free: 25.91 MB / 442.7 MB Notification: Performance of Backend: time 2.144e-06/0.1763, allocations: 4 kB / 0.7072 GB, free: 25.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.1782, allocations: 0.7759 MB / 0.708 GB, free: 25.09 MB / 442.7 MB Notification: Performance of SimCode: time 0.003329/0.1816, allocations: 2.176 MB / 0.7101 GB, free: 22.86 MB / 442.7 MB Notification: Performance of Templates: time 0.01808/0.1997, allocations: 7.131 MB / 0.7171 GB, free: 15.76 MB / 442.7 MB