Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001676/0.001676, allocations: 172.9 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.06404/0.06404, allocations: 8.773 MB / 25.63 MB, free: 3.82 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 233.9 MB, free: 14.54 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007716/0.0007715, allocations: 97.03 kB / 284.4 MB, free: 14.6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004492, allocations: 16 kB / 344.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2337, allocations: 49.71 MB / 394.5 MB, free: 36.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.3375, allocations: 84.81 MB / 479.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.3378, allocations: 71.97 kB / 479.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0549/0.3927, allocations: 21.46 MB / 0.4891 GB, free: 10.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3927, allocations: 0 / 0.4891 GB, free: 10.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001577/0.3929, allocations: 32.19 kB / 0.4891 GB, free: 10.1 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.004123/0.397, allocations: 1.555 MB / 0.4907 GB, free: 8.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3971, allocations: 8.031 kB / 0.4907 GB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006477/0.3977, allocations: 159.2 kB / 0.4908 GB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.3996, allocations: 0.9558 MB / 0.4917 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.3997, allocations: 78.61 kB / 0.4918 GB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.4, allocations: 124.2 kB / 0.4919 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.4034, allocations: 1.661 MB / 0.4936 GB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.4034, allocations: 4.125 kB / 0.4936 GB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.4036, allocations: 51.94 kB / 0.4936 GB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.575e-05/0.4036, allocations: 46.23 kB / 0.4937 GB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/0.4065, allocations: 1.492 MB / 0.4951 GB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1953/0.6018, allocations: 5.044 MB / 0.5 GB, free: 92.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.6044, allocations: 2.584 MB / 0.5026 GB, free: 91.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.6061, allocations: 0.8571 MB / 0.5034 GB, free: 91.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.883e-05/0.6062, allocations: 11.56 kB / 0.5034 GB, free: 91.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.6062, allocations: 45.72 kB / 0.5035 GB, free: 91.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 3.006e-06/0.6062, allocations: 3.625 kB / 0.5035 GB, free: 91.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.006448/0.6127, allocations: 4.029 MB / 0.5074 GB, free: 90.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.6127, allocations: 66.38 kB / 0.5075 GB, free: 90.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009427/0.6137, allocations: 0.8745 MB / 0.5083 GB, free: 90.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.6138, allocations: 41.08 kB / 0.5084 GB, free: 90.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.614, allocations: 0.4954 MB / 0.5088 GB, free: 90.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.6142, allocations: 306.9 kB / 0.5091 GB, free: 89.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.6142, allocations: 15.41 kB / 0.5091 GB, free: 89.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.278e-05/0.6143, allocations: 346.4 kB / 0.5095 GB, free: 89.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006543/0.6149, allocations: 0.4955 MB / 0.51 GB, free: 89.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006911/0.6156, allocations: 0.5721 MB / 0.5105 GB, free: 89.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.617, allocations: 1.072 MB / 0.5116 GB, free: 89.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.6171, allocations: 0 / 0.5116 GB, free: 89.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002179/0.6192, allocations: 1.582 MB / 0.5131 GB, free: 88.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.6193, allocations: 6.375 kB / 0.5131 GB, free: 88.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6193, allocations: 3.688 kB / 0.5131 GB, free: 88.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000974/0.6203, allocations: 0.4897 MB / 0.5136 GB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.6208, allocations: 138.4 kB / 0.5137 GB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006596/0.6274, allocations: 8.755 MB / 0.5223 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/0.6281, allocations: 47.91 kB / 0.5223 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.6282, allocations: 26.75 kB / 0.5224 GB, free: 81.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007789/0.629, allocations: 0.4936 MB / 0.5228 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.6291, allocations: 97.28 kB / 0.5229 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.6293, allocations: 129.5 kB / 0.523 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.6293, allocations: 12.56 kB / 0.5231 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.6294, allocations: 6.5 kB / 0.5231 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.6294, allocations: 3.75 kB / 0.5231 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004099/0.6335, allocations: 3.206 MB / 0.5262 GB, free: 79.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6335, allocations: 3 kB / 0.5262 GB, free: 79.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/0.634, allocations: 122.5 kB / 0.5263 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008026/0.6348, allocations: 484.2 kB / 0.5268 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.6348, allocations: 23.94 kB / 0.5268 GB, free: 79.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008994/0.6438, allocations: 8.662 MB / 0.5353 GB, free: 72.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.6439, allocations: 4.031 kB / 0.5353 GB, free: 72.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005567/0.6495, allocations: 2.35 MB / 0.5376 GB, free: 70.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008483/0.6504, allocations: 295 kB / 0.5378 GB, free: 70.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.6506, allocations: 19.38 kB / 0.5379 GB, free: 70.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/0.6515, allocations: 72.44 kB / 0.5379 GB, free: 70.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/0.6519, allocations: 87.91 kB / 0.538 GB, free: 69.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.379e-05/0.652, allocations: 31.61 kB / 0.538 GB, free: 69.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001295/0.6533, allocations: 0.6188 MB / 0.5387 GB, free: 69.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6533, allocations: 0 / 0.5387 GB, free: 69.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002028/0.6553, allocations: 312 kB / 0.5389 GB, free: 69.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002766/0.6556, allocations: 127.8 kB / 0.5391 GB, free: 69.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004079/0.6597, allocations: 1.798 MB / 0.5408 GB, free: 67.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.6598, allocations: 0 / 0.5408 GB, free: 67.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00278/0.6626, allocations: 1.263 MB / 0.5421 GB, free: 66.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/0.6652, allocations: 276.8 kB / 0.5423 GB, free: 66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007337/0.6725, allocations: 3.302 MB / 0.5455 GB, free: 63.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.6739, allocations: 1.419 MB / 0.5469 GB, free: 61.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001065/0.6749, allocations: 182.9 kB / 0.5471 GB, free: 61.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.6752, allocations: 59 kB / 0.5472 GB, free: 61.65 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6753, allocations: 0 / 0.5472 GB, free: 61.65 MB / 378.7 MB Notification: Performance of Templates: time 0.02943/0.7047, allocations: 19.07 MB / 0.5658 GB, free: 43.13 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile (rm -f HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Rectifier.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Rectifier.sim & ./HanserModelica_HanserModelica.Electrical.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1)