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.002569/0.002569, allocations: 364.4 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.253/3.253, allocations: 388.9 MB / 406.9 MB, free: 6.852 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003489/0.003489, allocations: 231 kB / 452.2 MB, free: 0.5742 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7118/0.7118, allocations: 76.02 MB / 0.56 GB, free: 14.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004549, allocations: 12 kB / 0.6223 GB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3215, allocations: 53.21 MB / 0.6742 GB, free: 62.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.4596, allocations: 94.88 MB / 0.7669 GB, free: 15.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.46, allocations: 95.95 kB / 0.767 GB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06217/0.5222, allocations: 14.44 MB / 0.7811 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5223, allocations: 0 / 0.7811 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.786e-05/0.5223, allocations: 24.14 kB / 0.7811 GB, free: 0.8906 MB / 394.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.2842/0.8066, allocations: 0.931 MB / 0.782 GB, free: 94.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.8066, allocations: 10.58 kB / 0.782 GB, free: 94.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003797/0.807, allocations: 68.22 kB / 0.7821 GB, free: 94.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.8099, allocations: 0.7614 MB / 0.7828 GB, free: 93.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.8102, allocations: 124.5 kB / 0.7829 GB, free: 93.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.8105, allocations: 54.2 kB / 0.783 GB, free: 93.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.8128, allocations: 0.7961 MB / 0.7838 GB, free: 93.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.8129, allocations: 2.344 kB / 0.7838 GB, free: 93.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.663e-05/0.813, allocations: 27.45 kB / 0.7838 GB, free: 93.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.813, allocations: 16.81 kB / 0.7838 GB, free: 93.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.8157, allocations: 0.744 MB / 0.7845 GB, free: 93.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005843/0.8216, allocations: 2.635 MB / 0.7871 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/0.8245, allocations: 0.8185 MB / 0.7879 GB, free: 92.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.8257, allocations: 413.7 kB / 0.7883 GB, free: 92.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.644e-05/0.8258, allocations: 6.469 kB / 0.7883 GB, free: 92.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.8258, allocations: 43.17 kB / 0.7884 GB, free: 92.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 2.966e-06/0.8258, allocations: 0 / 0.7884 GB, free: 92.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=51): time 0.006138/0.832, allocations: 2.186 MB / 0.7905 GB, free: 91.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.832, allocations: 89.03 kB / 0.7906 GB, free: 91.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.8326, allocations: 392.5 kB / 0.7909 GB, free: 91.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.8326, allocations: 37.27 kB / 0.791 GB, free: 91.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.8328, allocations: 292.5 kB / 0.7913 GB, free: 91.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.833, allocations: 182 kB / 0.7914 GB, free: 91.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.833, allocations: 8 kB / 0.7914 GB, free: 91.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.8331, allocations: 358 kB / 0.7918 GB, free: 90.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008796/0.834, allocations: 287.6 kB / 0.7921 GB, free: 90.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009563/0.835, allocations: 393.3 kB / 0.7924 GB, free: 90.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009455/0.836, allocations: 324.9 kB / 0.7927 GB, free: 90.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.836, allocations: 3.625 kB / 0.7927 GB, free: 90.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002346/0.8383, allocations: 0.8877 MB / 0.7936 GB, free: 89.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.8384, allocations: 9.719 kB / 0.7936 GB, free: 89.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.8384, allocations: 5.812 kB / 0.7936 GB, free: 89.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000346/0.8387, allocations: 76.86 kB / 0.7937 GB, free: 89.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/0.8418, allocations: 394.2 kB / 0.7941 GB, free: 89.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007096/0.8489, allocations: 6.134 MB / 0.8001 GB, free: 84.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007937/0.8497, allocations: 52.23 kB / 0.8001 GB, free: 84.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.8498, allocations: 28 kB / 0.8001 GB, free: 84.29 MB / 394.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.0004449/0.8502, allocations: 238.8 kB / 0.8004 GB, free: 84.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.8504, allocations: 47.81 kB / 0.8004 GB, free: 84.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.8527, allocations: 0.8484 MB / 0.8012 GB, free: 83.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.8527, allocations: 6.656 kB / 0.8013 GB, free: 83.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.8527, allocations: 0 / 0.8013 GB, free: 83.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.8527, allocations: 2.75 kB / 0.8013 GB, free: 83.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/0.8567, allocations: 1.704 MB / 0.8029 GB, free: 82.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.8568, allocations: 5.875 kB / 0.8029 GB, free: 82.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003355/0.8601, allocations: 429.7 kB / 0.8033 GB, free: 82.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003564/0.8605, allocations: 75.55 kB / 0.8034 GB, free: 82.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.8606, allocations: 14.38 kB / 0.8034 GB, free: 82.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.8627, allocations: 2.862 MB / 0.8062 GB, free: 80.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.8627, allocations: 7.156 kB / 0.8062 GB, free: 80.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/0.866, allocations: 1.349 MB / 0.8075 GB, free: 79.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.8662, allocations: 125.8 kB / 0.8077 GB, free: 79.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.8663, allocations: 10.66 kB / 0.8077 GB, free: 79.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.867, allocations: 45.11 kB / 0.8077 GB, free: 79.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.8672, allocations: 48.8 kB / 0.8078 GB, free: 79.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/0.8672, allocations: 20.72 kB / 0.8078 GB, free: 79.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003908/0.8676, allocations: 282 kB / 0.8081 GB, free: 79.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8677, allocations: 0 / 0.8081 GB, free: 79.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008564/0.8685, allocations: 153.8 kB / 0.8082 GB, free: 79.03 MB / 394.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.0002105/0.8687, allocations: 130.3 kB / 0.8083 GB, free: 78.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004507/0.8733, allocations: 1.182 MB / 0.8095 GB, free: 77.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8733, allocations: 4 kB / 0.8095 GB, free: 77.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003643/0.8769, allocations: 0.8882 MB / 0.8103 GB, free: 77.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.8782, allocations: 133.4 kB / 0.8105 GB, free: 77.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.883, allocations: 1.883 MB / 0.8123 GB, free: 75.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.8835, allocations: 0.9513 MB / 0.8132 GB, free: 74.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000723/0.8842, allocations: 133.1 kB / 0.8134 GB, free: 74.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.8845, allocations: 42.67 kB / 0.8134 GB, free: 74.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.8845, allocations: 0 / 0.8134 GB, free: 74.45 MB / 394.7 MB Notification: Performance of Templates: time 0.01866/0.9031, allocations: 7.26 MB / 0.8205 GB, free: 68.6 MB / 394.7 MB