Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 2.286/2.286, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.069e-05, allocations: 8 kB / 258.8 MB, free: 8.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.2998, allocations: 44.5 MB / 303.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005768/0.3056, allocations: 3.384 MB / 306.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002522/0.3082, allocations: 0.8496 MB / 307.5 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006441/0.3089, allocations: 16.97 kB / 307.5 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.3091, allocations: 62.78 kB / 307.6 MB, free: 9.266 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009465/0.3101, allocations: 207.5 kB / 307.8 MB, free: 9.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.3106, allocations: 122.4 kB / 307.9 MB, free: 8.965 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.3117, allocations: 382.5 kB / 308.3 MB, free: 8.648 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003351/0.3121, allocations: 116.8 kB / 308.4 MB, free: 8.531 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005348/0.3126, allocations: 207.5 kB / 308.6 MB, free: 8.328 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005029/0.3131, allocations: 251.1 kB / 308.9 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.3133, allocations: 31.94 kB / 308.9 MB, free: 8.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.3134, allocations: 28 kB / 308.9 MB, free: 8.023 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.3136, allocations: 107.6 kB / 309 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.3138, allocations: 56 kB / 309.1 MB, free: 7.863 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007582/0.3146, allocations: 0.4985 MB / 309.6 MB, free: 7.363 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3146, allocations: 4 kB / 309.6 MB, free: 7.359 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3146, allocations: 0 / 309.6 MB, free: 7.359 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.3146, allocations: 0 / 309.6 MB, free: 7.359 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002037/0.3167, allocations: 0.7606 MB / 310.3 MB, free: 6.547 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.3168, allocations: 11.97 kB / 310.3 MB, free: 6.535 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.317, allocations: 71.16 kB / 310.4 MB, free: 6.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.3178, allocations: 369 kB / 310.8 MB, free: 6.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.3179, allocations: 41.25 kB / 310.8 MB, free: 6.023 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.318, allocations: 55.91 kB / 310.9 MB, free: 5.969 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.3196, allocations: 0.5375 MB / 311.4 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.3197, allocations: 0 / 311.4 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/0.3197, allocations: 24 kB / 311.4 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.3198, allocations: 12 kB / 311.4 MB, free: 5.371 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.3214, allocations: 463.6 kB / 311.9 MB, free: 4.918 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004905/0.3263, allocations: 2.065 MB / 314 MB, free: 2.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.328, allocations: 0.6416 MB / 314.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.39e-05/0.3281, allocations: 8.562 kB / 314.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.3282, allocations: 43.12 kB / 314.7 MB, free: 2.039 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 4.188e-06/0.3282, allocations: 4 kB / 314.7 MB, free: 2.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.00793/0.3361, allocations: 2.053 MB / 316.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.3362, allocations: 59.97 kB / 316.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006256/0.3369, allocations: 312.9 kB / 317.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.964e-05/0.337, allocations: 37.7 kB / 317.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.3372, allocations: 275.6 kB / 317.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.3375, allocations: 205 kB / 317.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.3376, allocations: 12 kB / 317.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3377, allocations: 330.8 kB / 317.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006546/0.3384, allocations: 173 kB / 318.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/0.3391, allocations: 215.8 kB / 318.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.3398, allocations: 178.2 kB / 318.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.3398, allocations: 0 / 318.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002198/0.342, allocations: 0.6581 MB / 319.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.3421, allocations: 8 kB / 319.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3421, allocations: 0 / 319.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.3434, allocations: 259.2 kB / 319.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.344, allocations: 67.89 kB / 319.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/0.3574, allocations: 6.828 MB / 326.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/0.3583, allocations: 19.98 kB / 326.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.402e-05/0.3584, allocations: 16.09 kB / 326.3 MB, free: 5.633 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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.0004857/0.3589, allocations: 180.7 kB / 326.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.3591, allocations: 55.3 kB / 326.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.3594, allocations: 65.02 kB / 326.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.3594, allocations: 8 kB / 326.6 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.3595, allocations: 0.5 kB / 326.6 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.3595, allocations: 3.984 kB / 326.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005447/0.365, allocations: 1.353 MB / 328 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.365, allocations: 4 kB / 328 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/0.3659, allocations: 55.97 kB / 328 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/0.3678, allocations: 259.4 kB / 328.3 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/0.3679, allocations: 15.98 kB / 328.3 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/0.3805, allocations: 6.832 MB / 335.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.3806, allocations: 4.031 kB / 335.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/0.3837, allocations: 1.048 MB / 336.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.3841, allocations: 152.5 kB / 336.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.3843, allocations: 12 kB / 336.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.3848, allocations: 23.98 kB / 336.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.385, allocations: 52.48 kB / 336.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.3851, allocations: 16 kB / 336.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004337/0.3855, allocations: 259.2 kB / 336.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3855, allocations: 0 / 336.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001186/0.3867, allocations: 172 kB / 336.9 MB, free: 10.42 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.0002129/0.387, allocations: 111.2 kB / 337 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.3896, allocations: 1.049 MB / 338 MB, free: 9.195 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3896, allocations: 0 / 338 MB, free: 9.195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.3915, allocations: 0.8413 MB / 338.9 MB, free: 8.301 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/0.3922, allocations: 81.69 kB / 338.9 MB, free: 8.223 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.3961, allocations: 1.53 MB / 340.5 MB, free: 6.672 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.3967, allocations: 0.8948 MB / 341.4 MB, free: 5.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.3969, allocations: 35.42 kB / 341.4 MB, free: 5.715 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.397, allocations: 0 / 341.4 MB, free: 5.715 MB / 282.7 MB Notification: Performance of Templates: time 0.02412/0.4211, allocations: 13.25 MB / 354.7 MB, free: 8.465 MB / 298.7 MB