Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002544/0.002544, 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.805/3.805, 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.003584/0.003583, 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.7526/0.7526, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004627, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.1004, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.009274/0.1097, allocations: 6.3 MB / 0.6804 GB, free: 54.49 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004115/0.1139, allocations: 1.618 MB / 0.682 GB, free: 52.87 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000689/0.1147, allocations: 43.69 kB / 0.682 GB, free: 52.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.1153, allocations: 131.1 kB / 0.6821 GB, free: 52.7 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.1167, allocations: 421.8 kB / 0.6825 GB, free: 52.28 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008373/0.1176, allocations: 191.7 kB / 0.6827 GB, free: 52.09 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.1194, allocations: 1.269 MB / 0.684 GB, free: 50.82 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.12, allocations: 251.6 kB / 0.6842 GB, free: 50.57 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009099/0.121, allocations: 370.3 kB / 0.6845 GB, free: 50.2 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.1222, allocations: 0.5102 MB / 0.685 GB, free: 49.69 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.1223, allocations: 32 kB / 0.6851 GB, free: 49.66 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.1225, allocations: 31.94 kB / 0.6851 GB, free: 49.63 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003748/0.1229, allocations: 275.3 kB / 0.6854 GB, free: 49.36 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.1231, allocations: 149.3 kB / 0.6855 GB, free: 49.21 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000876/0.124, allocations: 0.639 MB / 0.6861 GB, free: 48.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1241, allocations: 0 / 0.6861 GB, free: 48.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1241, allocations: 8 kB / 0.6861 GB, free: 48.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1241, allocations: 0 / 0.6861 GB, free: 48.56 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002944/0.1271, allocations: 0.9061 MB / 0.687 GB, free: 47.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.1271, allocations: 8.031 kB / 0.687 GB, free: 47.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.1274, allocations: 71.16 kB / 0.6871 GB, free: 47.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.1289, allocations: 0.533 MB / 0.6876 GB, free: 46.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.1292, allocations: 116.7 kB / 0.6877 GB, free: 46.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.1294, allocations: 59.95 kB / 0.6878 GB, free: 46.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.1317, allocations: 0.7811 MB / 0.6886 GB, free: 45.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.1318, allocations: 0 / 0.6886 GB, free: 45.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.1319, allocations: 35.94 kB / 0.6886 GB, free: 45.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.1321, allocations: 32.97 kB / 0.6886 GB, free: 45.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/0.1349, allocations: 0.7455 MB / 0.6893 GB, free: 45.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006307/0.1412, allocations: 2.624 MB / 0.6919 GB, free: 42.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.1443, allocations: 0.8496 MB / 0.6927 GB, free: 41.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.1457, allocations: 419.3 kB / 0.6931 GB, free: 41.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.981e-05/0.1458, allocations: 12.44 kB / 0.6931 GB, free: 41.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.1459, allocations: 35 kB / 0.6932 GB, free: 41.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=50): time 4.989e-06/0.1459, allocations: 0 / 0.6932 GB, free: 41.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=51): time 0.006689/0.1526, allocations: 2.217 MB / 0.6953 GB, free: 38.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1527, allocations: 85.55 kB / 0.6954 GB, free: 38.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.1532, allocations: 397.9 kB / 0.6958 GB, free: 38.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/0.1533, allocations: 33.7 kB / 0.6958 GB, free: 38.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.1535, allocations: 288.5 kB / 0.6961 GB, free: 37.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.1537, allocations: 177.4 kB / 0.6963 GB, free: 37.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.1538, allocations: 16.03 kB / 0.6963 GB, free: 37.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.1539, allocations: 358.8 kB / 0.6966 GB, free: 37.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009237/0.1548, allocations: 284.9 kB / 0.6969 GB, free: 37.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009615/0.1558, allocations: 405.1 kB / 0.6973 GB, free: 36.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009867/0.1568, allocations: 314 kB / 0.6976 GB, free: 36.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1568, allocations: 4 kB / 0.6976 GB, free: 36.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002541/0.1594, allocations: 0.9032 MB / 0.6985 GB, free: 35.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.1594, allocations: 4 kB / 0.6985 GB, free: 35.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.1595, allocations: 4 kB / 0.6985 GB, free: 35.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.1598, allocations: 77.83 kB / 0.6986 GB, free: 35.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/0.163, allocations: 399.5 kB / 0.6989 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007583/0.1706, allocations: 6.174 MB / 0.705 GB, free: 28.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/0.1715, allocations: 47.95 kB / 0.705 GB, free: 28.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.1716, allocations: 16 kB / 0.705 GB, free: 28.15 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004273/0.172, allocations: 241.8 kB / 0.7053 GB, free: 27.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1721, allocations: 43.44 kB / 0.7053 GB, free: 27.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.1745, allocations: 0.8709 MB / 0.7062 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.1746, allocations: 0 / 0.7062 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1746, allocations: 0 / 0.7062 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1747, allocations: 124.5 kB / 0.7063 GB, free: 26.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.1749, allocations: 8 kB / 0.7063 GB, free: 26.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.1755, allocations: 47.95 kB / 0.7063 GB, free: 26.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.1757, allocations: 44.36 kB / 0.7064 GB, free: 26.71 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005668/0.1814, allocations: 1.333 MB / 0.7077 GB, free: 25.36 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003128/0.1845, allocations: 1.314 MB / 0.709 GB, free: 24.03 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001026/0.1856, allocations: 367.2 kB / 0.7093 GB, free: 23.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003884/0.186, allocations: 271.1 kB / 0.7096 GB, free: 23.41 MB / 442.7 MB Notification: Performance of Backend: time 1.523e-06/0.186, allocations: 0 / 0.7096 GB, free: 23.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004498/0.1905, allocations: 1.003 MB / 0.7105 GB, free: 22.37 MB / 442.7 MB Notification: Performance of SimCode: time 0.003264/0.1938, allocations: 2.044 MB / 0.7125 GB, free: 20.27 MB / 442.7 MB Notification: Performance of Templates: time 0.01971/0.2136, allocations: 7.632 MB / 0.72 GB, free: 12.67 MB / 442.7 MB