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.1_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.657/1.657, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.56e-05, allocations: 0 / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08021/0.08027, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005457/0.08576, allocations: 3.371 MB / 270.3 MB, free: 13.09 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.08789, allocations: 0.8495 MB / 271.1 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003298/0.08825, allocations: 12 kB / 271.1 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.08846, allocations: 71.42 kB / 271.2 MB, free: 12.15 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000662/0.08913, allocations: 199.4 kB / 271.4 MB, free: 11.96 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.0895, allocations: 111.8 kB / 271.5 MB, free: 11.85 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006723/0.09019, allocations: 380.1 kB / 271.9 MB, free: 11.48 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.09051, allocations: 120.8 kB / 272 MB, free: 11.35 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.09089, allocations: 215.4 kB / 272.2 MB, free: 11.14 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.09136, allocations: 259.1 kB / 272.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.09151, allocations: 28 kB / 272.5 MB, free: 10.86 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-05/0.0916, allocations: 31.94 kB / 272.5 MB, free: 10.83 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.09177, allocations: 103.6 kB / 272.6 MB, free: 10.73 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.09196, allocations: 56 kB / 272.7 MB, free: 10.67 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007563/0.09273, allocations: 0.5024 MB / 273.2 MB, free: 10.17 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.09274, allocations: 0 / 273.2 MB, free: 10.17 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.09276, allocations: 0 / 273.2 MB, free: 10.17 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.09278, allocations: 0 / 273.2 MB, free: 10.17 MB / 234.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.001927/0.09472, allocations: 0.7722 MB / 274 MB, free: 9.348 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.09479, allocations: 12.03 kB / 274 MB, free: 9.336 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.09497, allocations: 67.16 kB / 274 MB, free: 9.27 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/0.09566, allocations: 365 kB / 274.4 MB, free: 8.871 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.09573, allocations: 41.27 kB / 274.4 MB, free: 8.832 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.09587, allocations: 51.91 kB / 274.5 MB, free: 8.781 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.09735, allocations: 0.5453 MB / 275 MB, free: 8.203 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.09739, allocations: 0 / 275 MB, free: 8.203 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-05/0.09747, allocations: 23.94 kB / 275.1 MB, free: 8.18 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.0975, allocations: 16 kB / 275.1 MB, free: 8.164 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.09898, allocations: 459.6 kB / 275.5 MB, free: 7.719 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004592/0.1036, allocations: 2.069 MB / 277.6 MB, free: 5.562 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.1052, allocations: 0.6377 MB / 278.2 MB, free: 4.895 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-05/0.1053, allocations: 8.562 kB / 278.2 MB, free: 4.887 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.1053, allocations: 43.05 kB / 278.3 MB, free: 4.836 MB / 234.7 MB Notification: Performance of pre-optimization done (n=60): time 3.156e-06/0.1053, allocations: 0 / 278.3 MB, free: 4.836 MB / 234.7 MB Notification: Performance of matching and sorting (n=61): time 0.007571/0.1129, allocations: 2.057 MB / 280.3 MB, free: 2.66 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.113, allocations: 59.97 kB / 280.4 MB, free: 2.59 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.1136, allocations: 316.9 kB / 280.7 MB, free: 2.277 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.1137, allocations: 37.7 kB / 280.7 MB, free: 2.234 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.1139, allocations: 237.1 kB / 281 MB, free: 2 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.1142, allocations: 189.1 kB / 281.2 MB, free: 1.812 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.1142, allocations: 16 kB / 281.2 MB, free: 1.797 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1144, allocations: 362.7 kB / 281.5 MB, free: 1.434 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006147/0.115, allocations: 173 kB / 281.7 MB, free: 1.266 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000658/0.1157, allocations: 215.8 kB / 281.9 MB, free: 1.047 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000633/0.1164, allocations: 182.2 kB / 282.1 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1164, allocations: 0 / 282.1 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002179/0.1186, allocations: 0.6696 MB / 282.7 MB, free: 188 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.1186, allocations: 9.359 kB / 282.8 MB, free: 180 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.1187, allocations: 8.031 kB / 282.8 MB, free: 172 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.1199, allocations: 247.3 kB / 283 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/0.1205, allocations: 67.91 kB / 283.1 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.1306, allocations: 6.84 MB / 289.9 MB, free: 8.473 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.1312, allocations: 27.95 kB / 289.9 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.1313, allocations: 20.06 kB / 290 MB, free: 8.426 MB / 250.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.0003457/0.1316, allocations: 169.8 kB / 290.1 MB, free: 8.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.1318, allocations: 47.44 kB / 290.2 MB, free: 8.203 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.1319, allocations: 61.03 kB / 290.2 MB, free: 8.141 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.132, allocations: 8 kB / 290.2 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.132, allocations: 3.953 kB / 290.2 MB, free: 8.129 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.132, allocations: 7.922 kB / 290.3 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004976/0.137, allocations: 1.357 MB / 291.6 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.1371, allocations: 0 / 291.6 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007632/0.1378, allocations: 59.95 kB / 291.7 MB, free: 6.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.1396, allocations: 263.1 kB / 291.9 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.1397, allocations: 8.188 kB / 291.9 MB, free: 6.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2734/0.4132, allocations: 6.831 MB / 298.8 MB, free: 28.13 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4132, allocations: 7.25 kB / 298.8 MB, free: 28.13 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.4163, allocations: 1.042 MB / 299.8 MB, free: 27.97 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.4166, allocations: 162 kB / 300 MB, free: 27.88 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.4168, allocations: 18.06 kB / 300 MB, free: 27.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.4173, allocations: 20.55 kB / 300 MB, free: 27.88 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.4175, allocations: 50.48 kB / 300.1 MB, free: 27.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.4175, allocations: 15.33 kB / 300.1 MB, free: 27.88 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003835/0.4179, allocations: 260.2 kB / 300.3 MB, free: 27.79 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4179, allocations: 0 / 300.3 MB, free: 27.79 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001129/0.4191, allocations: 178.3 kB / 300.5 MB, free: 27.79 MB / 250.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.0001783/0.4193, allocations: 113.6 kB / 300.6 MB, free: 27.71 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.4217, allocations: 1.043 MB / 301.7 MB, free: 27.24 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4217, allocations: 0 / 301.7 MB, free: 27.24 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.4235, allocations: 0.8452 MB / 302.5 MB, free: 26.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.4243, allocations: 76.17 kB / 302.6 MB, free: 26.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.4277, allocations: 1.522 MB / 304.1 MB, free: 26.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.4283, allocations: 0.8907 MB / 305 MB, free: 25.31 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0003399/0.4286, allocations: 54.33 kB / 305 MB, free: 25.3 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.4288, allocations: 27.91 kB / 305.1 MB, free: 25.29 MB / 250.7 MB Notification: Performance of SimCode: time 1.693e-06/0.4288, allocations: 0 / 305.1 MB, free: 25.29 MB / 250.7 MB Notification: Performance of Templates: time 0.02354/0.4523, allocations: 7.857 MB / 312.9 MB, free: 22.82 MB / 250.7 MB