Running command: translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") Notification: Performance of loadModel(HanserModelica): time 2.074/2.074, allocations: 214.7 MB / 226.9 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.435e-05, allocations: 9.234 kB / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09044, allocations: 49.7 MB / 329.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3818/0.4723, allocations: 85.06 MB / 414.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.4725, allocations: 65.91 kB / 414.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08182/0.5544, allocations: 21.45 MB / 435.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.359e-06/0.5544, allocations: 0 / 435.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000101/0.5545, allocations: 35.94 kB / 435.8 MB, free: 12.65 MB / 362.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.003384/0.5579, allocations: 1.411 MB / 437.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.558, allocations: 8.031 kB / 437.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004374/0.5584, allocations: 166.2 kB / 437.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.5605, allocations: 0.9233 MB / 438.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.69e-05/0.5606, allocations: 84.19 kB / 438.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.5608, allocations: 109.8 kB / 438.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003357/0.5642, allocations: 1.593 MB / 440.1 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.5643, allocations: 0 / 440.1 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.5645, allocations: 46.5 kB / 440.1 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.701e-05/0.5645, allocations: 49.78 kB / 440.2 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.5676, allocations: 1.379 MB / 441.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.5782, allocations: 5.051 MB / 446.6 MB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.5814, allocations: 2.531 MB / 449.1 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.5829, allocations: 0.8143 MB / 449.9 MB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.8e-05/0.5829, allocations: 8.781 kB / 449.9 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.583, allocations: 42.97 kB / 450 MB, free: 1.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=92): time 4.372e-06/0.583, allocations: 0 / 450 MB, free: 1.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.006199/0.5892, allocations: 2.759 MB / 452.7 MB, free: 14.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.5893, allocations: 64.12 kB / 452.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.5909, allocations: 0.7849 MB / 453.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.5911, allocations: 41.7 kB / 453.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/0.5917, allocations: 0.4921 MB / 454.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003692/0.592, allocations: 315.5 kB / 454.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.5921, allocations: 12 kB / 454.4 MB, free: 13.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.5923, allocations: 342 kB / 454.8 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009502/0.5933, allocations: 469.8 kB / 455.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.5943, allocations: 0.515 MB / 455.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.5954, allocations: 0.5123 MB / 456.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.673e-06/0.5954, allocations: 0 / 456.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003352/0.5988, allocations: 1.491 MB / 457.8 MB, free: 9.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.5988, allocations: 6.188 kB / 457.8 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.5988, allocations: 4 kB / 457.8 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.6005, allocations: 491 kB / 458.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/0.6014, allocations: 147.8 kB / 458.4 MB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.614, allocations: 8.724 MB / 467.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009088/0.615, allocations: 52.05 kB / 467.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.82e-05/0.6151, allocations: 28 kB / 467.2 MB, free: 15.88 MB / 394.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 () * 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.0002912/0.6154, allocations: 156.8 kB / 467.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.6157, allocations: 94.88 kB / 467.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.616, allocations: 129.3 kB / 467.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.616, allocations: 8 kB / 467.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.6161, allocations: 0 / 467.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.6161, allocations: 3.984 kB / 467.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007181/0.6233, allocations: 3.116 MB / 470.7 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.6233, allocations: 4 kB / 470.7 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/0.6241, allocations: 119.9 kB / 470.8 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.6257, allocations: 487.3 kB / 471.3 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.6258, allocations: 16 kB / 471.3 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/0.6382, allocations: 8.643 MB / 479.9 MB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.254e-06/0.6382, allocations: 4.062 kB / 479.9 MB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004696/0.643, allocations: 2.233 MB / 482.2 MB, free: 192 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008175/0.6438, allocations: 300 kB / 482.5 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.644, allocations: 16 kB / 482.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007915/0.6448, allocations: 67.94 kB / 482.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/0.6451, allocations: 88.58 kB / 482.6 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.052e-05/0.6452, allocations: 28 kB / 482.7 MB, free: 15.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001201/0.6464, allocations: 0.6123 MB / 483.3 MB, free: 15.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.6465, allocations: 0 / 483.3 MB, free: 15.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00183/0.6483, allocations: 312 kB / 483.6 MB, free: 14.77 MB / 410.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 () * 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.0002655/0.6486, allocations: 127.2 kB / 483.7 MB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003285/0.6519, allocations: 1.672 MB / 485.4 MB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.227e-06/0.6519, allocations: 0 / 485.4 MB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002262/0.6542, allocations: 1.173 MB / 486.6 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.6559, allocations: 263.4 kB / 486.8 MB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005813/0.6617, allocations: 2.313 MB / 489.1 MB, free: 9.102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.6634, allocations: 1.435 MB / 490.6 MB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008074/0.6642, allocations: 187.7 kB / 490.7 MB, free: 7.445 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.6645, allocations: 59.44 kB / 490.8 MB, free: 7.387 MB / 410.7 MB Notification: Performance of SimCode: time 1.74e-06/0.6645, allocations: 0 / 490.8 MB, free: 7.387 MB / 410.7 MB Notification: Performance of Templates: time 0.04645/0.711, allocations: 18.65 MB / 0.4975 GB, free: 4.805 MB / 426.7 MB