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.002344/0.002349, allocations: 353.7 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.49/3.49, 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.003317/0.003317, allocations: 223.8 kB / 451.6 MB, free: 14.59 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.6547/0.6547, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004719, allocations: 8 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06702/0.06752, allocations: 53.22 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.005973/0.07356, allocations: 6.303 MB / 0.6798 GB, free: 54.49 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.07601, allocations: 1.622 MB / 0.6813 GB, free: 52.86 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.07641, allocations: 39.75 kB / 0.6814 GB, free: 52.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.07682, allocations: 127.1 kB / 0.6815 GB, free: 52.7 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000833/0.07767, allocations: 421.8 kB / 0.6819 GB, free: 52.29 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.07814, allocations: 191.6 kB / 0.6821 GB, free: 52.1 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009673/0.07913, allocations: 1.281 MB / 0.6833 GB, free: 50.81 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/0.07948, allocations: 243.6 kB / 0.6836 GB, free: 50.57 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004075/0.07991, allocations: 370.3 kB / 0.6839 GB, free: 50.2 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.08056, allocations: 0.5141 MB / 0.6844 GB, free: 49.69 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.948e-05/0.08066, allocations: 32 kB / 0.6845 GB, free: 49.66 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.08079, allocations: 32 kB / 0.6845 GB, free: 49.62 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.08107, allocations: 275.2 kB / 0.6847 GB, free: 49.36 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.08124, allocations: 145.4 kB / 0.6849 GB, free: 49.21 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.08178, allocations: 0.639 MB / 0.6855 GB, free: 48.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.08179, allocations: 0 / 0.6855 GB, free: 48.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.657e-06/0.08181, allocations: 0 / 0.6855 GB, free: 48.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.783e-06/0.08182, allocations: 0 / 0.6855 GB, free: 48.57 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.001697/0.08353, allocations: 0.9139 MB / 0.6864 GB, free: 47.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.08358, allocations: 8.828 kB / 0.6864 GB, free: 47.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.08373, allocations: 79.14 kB / 0.6865 GB, free: 47.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009/0.08464, allocations: 0.5214 MB / 0.687 GB, free: 46.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.08482, allocations: 124.7 kB / 0.6871 GB, free: 46.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.08498, allocations: 59.95 kB / 0.6872 GB, free: 46.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.08642, allocations: 0.785 MB / 0.6879 GB, free: 45.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.08648, allocations: 3.938 kB / 0.6879 GB, free: 45.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.847e-05/0.08656, allocations: 23.94 kB / 0.688 GB, free: 45.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.08669, allocations: 36.97 kB / 0.688 GB, free: 45.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.08833, allocations: 0.7533 MB / 0.6887 GB, free: 45.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.09232, allocations: 2.609 MB / 0.6913 GB, free: 42.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.09414, allocations: 0.8477 MB / 0.6921 GB, free: 41.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000788/0.09494, allocations: 423.3 kB / 0.6925 GB, free: 41.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.095, allocations: 4.438 kB / 0.6925 GB, free: 41.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.09504, allocations: 43 kB / 0.6926 GB, free: 41.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=50): time 3.638e-06/0.09505, allocations: 0 / 0.6926 GB, free: 41.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=51): time 0.004502/0.09956, allocations: 2.217 MB / 0.6947 GB, free: 38.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.09961, allocations: 81.55 kB / 0.6948 GB, free: 38.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.1, allocations: 393.9 kB / 0.6952 GB, free: 38.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.1001, allocations: 37.7 kB / 0.6952 GB, free: 38.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1003, allocations: 288.4 kB / 0.6955 GB, free: 37.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.1004, allocations: 181.4 kB / 0.6957 GB, free: 37.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.1004, allocations: 8 kB / 0.6957 GB, free: 37.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.1005, allocations: 362.8 kB / 0.696 GB, free: 37.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006589/0.1012, allocations: 296.9 kB / 0.6963 GB, free: 37.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/0.1019, allocations: 393.1 kB / 0.6967 GB, free: 36.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.1026, allocations: 322 kB / 0.697 GB, free: 36.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.967e-06/0.1026, allocations: 4 kB / 0.697 GB, free: 36.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001687/0.1043, allocations: 0.8955 MB / 0.6979 GB, free: 35.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1044, allocations: 8 kB / 0.6979 GB, free: 35.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.949e-06/0.1044, allocations: 7.938 kB / 0.6979 GB, free: 35.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002742/0.1047, allocations: 73.77 kB / 0.6979 GB, free: 35.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/0.1065, allocations: 403.5 kB / 0.6983 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005491/0.112, allocations: 6.171 MB / 0.7044 GB, free: 28.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.1125, allocations: 47.95 kB / 0.7044 GB, free: 28.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.1126, allocations: 27.97 kB / 0.7044 GB, free: 28.14 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.0003645/0.1129, allocations: 237.8 kB / 0.7047 GB, free: 27.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.1131, allocations: 47.44 kB / 0.7047 GB, free: 27.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.1147, allocations: 0.8632 MB / 0.7055 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.011e-06/0.1148, allocations: 4 kB / 0.7055 GB, free: 26.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.593e-06/0.1148, allocations: 0 / 0.7055 GB, free: 26.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.24e-06/0.1148, allocations: 3.984 kB / 0.7055 GB, free: 26.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.1179, allocations: 1.719 MB / 0.7072 GB, free: 25.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.966e-06/0.1179, allocations: 0 / 0.7072 GB, free: 25.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/0.1198, allocations: 439.6 kB / 0.7076 GB, free: 24.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/0.1201, allocations: 85.62 kB / 0.7077 GB, free: 24.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/0.1202, allocations: 16 kB / 0.7077 GB, free: 24.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.1221, allocations: 2.891 MB / 0.7106 GB, free: 21.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.385e-06/0.1222, allocations: 0 / 0.7106 GB, free: 21.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.1245, allocations: 1.363 MB / 0.7119 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1246, allocations: 116.5 kB / 0.712 GB, free: 19.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.792e-05/0.1247, allocations: 16.03 kB / 0.712 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/0.1252, allocations: 47.95 kB / 0.7121 GB, free: 19.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.1254, allocations: 51.83 kB / 0.7121 GB, free: 19.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.1254, allocations: 12.09 kB / 0.7121 GB, free: 19.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003034/0.1257, allocations: 283.1 kB / 0.7124 GB, free: 19.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.1257, allocations: 0 / 0.7124 GB, free: 19.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007972/0.1265, allocations: 148 kB / 0.7125 GB, free: 19.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 simulation (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.1267, allocations: 115.2 kB / 0.7127 GB, free: 19.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002929/0.1297, allocations: 1.198 MB / 0.7138 GB, free: 17.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.254e-06/0.1297, allocations: 0 / 0.7138 GB, free: 17.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00227/0.132, allocations: 0.8997 MB / 0.7147 GB, free: 17.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009692/0.1329, allocations: 141.4 kB / 0.7148 GB, free: 16.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.1362, allocations: 1.872 MB / 0.7167 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.1367, allocations: 0.9525 MB / 0.7176 GB, free: 14.03 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005639/0.1373, allocations: 124.7 kB / 0.7177 GB, free: 13.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.1375, allocations: 43.42 kB / 0.7178 GB, free: 13.86 MB / 442.7 MB Notification: Performance of SimCode: time 1.727e-06/0.1375, allocations: 0 / 0.7178 GB, free: 13.86 MB / 442.7 MB Notification: Performance of Templates: time 0.01489/0.1524, allocations: 7.139 MB / 0.7247 GB, free: 6.746 MB / 442.7 MB