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 1.951/1.951, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.393e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2455, allocations: 44.5 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.3588, allocations: 73.98 MB / 368.1 MB, free: 8.023 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.359, allocations: 71.89 kB / 368.2 MB, free: 7.953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03429/0.3933, allocations: 8.68 MB / 376.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.623e-06/0.3934, allocations: 0 / 376.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.562e-05/0.3934, allocations: 19.94 kB / 376.9 MB, free: 15.2 MB / 330.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.001518/0.395, allocations: 0.748 MB / 377.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.395, allocations: 8.031 kB / 377.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.3952, allocations: 71.16 kB / 377.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.3959, allocations: 371.3 kB / 378 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.396, allocations: 19.94 kB / 378.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.619e-05/0.3961, allocations: 28 kB / 378.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001004/0.3971, allocations: 378.5 kB / 378.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.3981, allocations: 444.5 kB / 378.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3982, allocations: 4 kB / 378.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.3982, allocations: 3.953 kB / 378.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.3983, allocations: 16 kB / 378.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003914/0.4022, allocations: 1.96 MB / 380.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.4033, allocations: 0.5817 MB / 381.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/0.404, allocations: 361.7 kB / 381.8 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.4041, allocations: 16.48 kB / 381.8 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.4042, allocations: 39.12 kB / 381.9 MB, free: 9.941 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 4.059e-06/0.4042, allocations: 4 kB / 381.9 MB, free: 9.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=61): time 0.002864/0.4071, allocations: 1.146 MB / 383 MB, free: 8.727 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.4071, allocations: 55.97 kB / 383.1 MB, free: 8.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.4076, allocations: 266.4 kB / 383.3 MB, free: 8.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.4077, allocations: 29.7 kB / 383.4 MB, free: 8.363 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.4079, allocations: 283.4 kB / 383.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.4081, allocations: 189.1 kB / 383.8 MB, free: 7.895 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.4082, allocations: 4 kB / 383.8 MB, free: 7.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4084, allocations: 334.8 kB / 384.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.4087, allocations: 137.1 kB / 384.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.4091, allocations: 182.8 kB / 384.5 MB, free: 7.238 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.4095, allocations: 146.1 kB / 384.6 MB, free: 7.094 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.103e-06/0.4095, allocations: 0 / 384.6 MB, free: 7.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001435/0.411, allocations: 0.5527 MB / 385.2 MB, free: 6.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.411, allocations: 8 kB / 385.2 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.053e-06/0.411, allocations: 0 / 385.2 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009761/0.412, allocations: 243.1 kB / 385.4 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.4125, allocations: 63.98 kB / 385.5 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008726/0.4212, allocations: 6.519 MB / 392 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.4216, allocations: 16.08 kB / 392 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.4217, allocations: 16.12 kB / 392 MB, free: 15.18 MB / 346.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.0001694/0.4219, allocations: 112.8 kB / 392.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.422, allocations: 47.44 kB / 392.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.4222, allocations: 65.02 kB / 392.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.332e-06/0.4222, allocations: 8 kB / 392.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.332e-06/0.4222, allocations: 4 kB / 392.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.4222, allocations: 3.984 kB / 392.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.4248, allocations: 1.17 MB / 393.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.535e-06/0.4249, allocations: 0 / 393.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.4253, allocations: 63.89 kB / 393.5 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009124/0.4262, allocations: 239.5 kB / 393.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.4262, allocations: 7.938 kB / 393.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008435/0.4347, allocations: 6.534 MB / 400.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.738e-06/0.4347, allocations: 8.016 kB / 400.3 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.4368, allocations: 0.9118 MB / 401.2 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.4371, allocations: 152.5 kB / 401.3 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.4372, allocations: 4.125 kB / 401.3 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.4375, allocations: 15.98 kB / 401.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.4377, allocations: 52.48 kB / 401.4 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.4378, allocations: 16 kB / 401.4 MB, free: 5.199 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003153/0.4381, allocations: 208.6 kB / 401.6 MB, free: 4.996 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4381, allocations: 0 / 401.6 MB, free: 4.996 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001182/0.4393, allocations: 159.9 kB / 401.8 MB, free: 4.84 MB / 346.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.0001988/0.4395, allocations: 111.2 kB / 401.9 MB, free: 4.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.4413, allocations: 0.9258 MB / 402.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.938e-06/0.4413, allocations: 0 / 402.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.4427, allocations: 0.77 MB / 403.6 MB, free: 2.945 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.4432, allocations: 60.14 kB / 403.6 MB, free: 2.891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.4457, allocations: 0.9719 MB / 404.6 MB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.4464, allocations: 0.8983 MB / 405.5 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.4465, allocations: 31.42 kB / 405.5 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of SimCode: time 1.669e-06/0.4465, allocations: 0 / 405.5 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of Templates: time 0.02006/0.4666, allocations: 13.03 MB / 418.6 MB, free: 3.906 MB / 362.7 MB