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_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.324e-05/5.328e-05, allocations: 4 kB / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1256, allocations: 44.51 MB / 299.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3872/0.5128, allocations: 74.65 MB / 374.5 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.5131, allocations: 67.02 kB / 374.6 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03232/0.5454, allocations: 8.771 MB / 383.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5454, allocations: 1.75 kB / 383.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.426e-05/0.5455, allocations: 15.78 kB / 383.4 MB, free: 21.38 MB / 314.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.001291/0.5468, allocations: 0.7531 MB / 384.1 MB, free: 20.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5468, allocations: 9.156 kB / 384.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.547, allocations: 69.59 kB / 384.2 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.5475, allocations: 364.9 kB / 384.6 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.5476, allocations: 39.75 kB / 384.6 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.831e-05/0.5477, allocations: 52.92 kB / 384.7 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000993/0.5487, allocations: 0.5091 MB / 385.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.5487, allocations: 1.75 kB / 385.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.5488, allocations: 21.97 kB / 385.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.5488, allocations: 21.92 kB / 385.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009188/0.5498, allocations: 400 kB / 385.6 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/0.553, allocations: 2.067 MB / 387.7 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009732/0.554, allocations: 0.6012 MB / 388.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/0.5546, allocations: 387.1 kB / 388.7 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.5547, allocations: 8.375 kB / 388.7 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.5547, allocations: 38.7 kB / 388.7 MB, free: 19.31 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 3.603e-06/0.5547, allocations: 3.906 kB / 388.7 MB, free: 19.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.002439/0.5572, allocations: 1.253 MB / 390 MB, free: 18.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.5572, allocations: 55.84 kB / 390 MB, free: 18.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.5576, allocations: 312 kB / 390.3 MB, free: 18.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.5577, allocations: 32.7 kB / 390.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.5578, allocations: 232.1 kB / 390.6 MB, free: 18.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.558, allocations: 205.4 kB / 390.8 MB, free: 18.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.558, allocations: 10.25 kB / 390.8 MB, free: 18.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.692e-05/0.5581, allocations: 356.6 kB / 391.1 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.5585, allocations: 151.2 kB / 391.3 MB, free: 18.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.5588, allocations: 187 kB / 391.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.5592, allocations: 159.3 kB / 391.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.669e-06/0.5592, allocations: 0 / 391.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001303/0.5605, allocations: 0.6322 MB / 392.3 MB, free: 17.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5606, allocations: 13.81 kB / 392.3 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.5606, allocations: 0 / 392.3 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008661/0.5615, allocations: 252.1 kB / 392.5 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.5618, allocations: 60.56 kB / 392.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00713/0.569, allocations: 6.761 MB / 399.3 MB, free: 28.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.5695, allocations: 18.23 kB / 399.4 MB, free: 28.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.5695, allocations: 15.22 kB / 399.4 MB, free: 28.44 MB / 330.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.0001689/0.5697, allocations: 143.3 kB / 399.5 MB, free: 28.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.5698, allocations: 46.88 kB / 399.6 MB, free: 28.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.57, allocations: 67.73 kB / 399.6 MB, free: 28.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.107e-06/0.57, allocations: 3.906 kB / 399.6 MB, free: 28.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.26e-06/0.57, allocations: 3.906 kB / 399.6 MB, free: 28.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.612e-06/0.57, allocations: 7.5 kB / 399.6 MB, free: 28.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.5724, allocations: 1.308 MB / 400.9 MB, free: 27.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.972e-06/0.5724, allocations: 0 / 400.9 MB, free: 27.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.5728, allocations: 60.39 kB / 401 MB, free: 27.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008263/0.5736, allocations: 259.3 kB / 401.3 MB, free: 27.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/0.5737, allocations: 11.78 kB / 401.3 MB, free: 27.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00758/0.5813, allocations: 6.761 MB / 408 MB, free: 22.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.711e-06/0.5813, allocations: 0 / 408 MB, free: 22.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.5832, allocations: 0.9757 MB / 409 MB, free: 22.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.5835, allocations: 153.7 kB / 409.2 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.5836, allocations: 7.188 kB / 409.2 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.584, allocations: 22.62 kB / 409.2 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.5841, allocations: 61.16 kB / 409.2 MB, free: 22.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.5842, allocations: 15.03 kB / 409.3 MB, free: 22.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003269/0.5845, allocations: 246.7 kB / 409.5 MB, free: 21.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.5845, allocations: 3.938 kB / 409.5 MB, free: 21.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001108/0.5857, allocations: 173.6 kB / 409.7 MB, free: 21.96 MB / 330.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.0001864/0.5859, allocations: 109.6 kB / 409.8 MB, free: 21.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.5875, allocations: 0.9583 MB / 410.7 MB, free: 21.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.053e-06/0.5875, allocations: 4.062 kB / 410.7 MB, free: 21.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.5886, allocations: 0.7823 MB / 411.5 MB, free: 20.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.5892, allocations: 68.8 kB / 411.6 MB, free: 20.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.5913, allocations: 0.9922 MB / 412.6 MB, free: 20.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.5919, allocations: 0.8898 MB / 413.5 MB, free: 19.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.5921, allocations: 54.19 kB / 413.5 MB, free: 19.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.108e-05/0.5922, allocations: 30.53 kB / 413.6 MB, free: 19.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.538e-06/0.5923, allocations: 0 / 413.6 MB, free: 19.77 MB / 330.7 MB Notification: Performance of Templates: time 0.01788/0.6102, allocations: 7.797 MB / 421.4 MB, free: 19.04 MB / 330.7 MB