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.827/1.827, allocations: 194.9 MB / 210.6 MB, free: 9.32 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.811e-05, allocations: 4 kB / 258.8 MB, free: 9.027 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2958, allocations: 44.5 MB / 303.3 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.008202/0.3041, allocations: 3.381 MB / 306.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003578/0.3077, allocations: 0.8494 MB / 307.5 MB, free: 9.453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007915/0.3086, allocations: 17.78 kB / 307.6 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004093/0.309, allocations: 70.48 kB / 307.6 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.3104, allocations: 199.3 kB / 307.8 MB, free: 9.199 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007839/0.3113, allocations: 121.8 kB / 307.9 MB, free: 9.094 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.3129, allocations: 380.3 kB / 308.3 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.3134, allocations: 120.8 kB / 308.4 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006337/0.3141, allocations: 207.4 kB / 308.6 MB, free: 8.418 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006808/0.3148, allocations: 259.1 kB / 308.9 MB, free: 8.164 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.315, allocations: 28 kB / 308.9 MB, free: 8.137 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.3152, allocations: 28 kB / 308.9 MB, free: 8.109 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.3154, allocations: 103.6 kB / 309 MB, free: 8.008 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.3157, allocations: 56 kB / 309.1 MB, free: 7.953 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.3168, allocations: 0.4985 MB / 309.6 MB, free: 7.453 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3169, allocations: 0 / 309.6 MB, free: 7.453 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.277e-06/0.3169, allocations: 0 / 309.6 MB, free: 7.453 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.952e-05/0.3169, allocations: 0 / 309.6 MB, free: 7.453 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.002809/0.3198, allocations: 0.7645 MB / 310.4 MB, free: 6.637 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.3199, allocations: 8.031 kB / 310.4 MB, free: 6.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.3202, allocations: 71.16 kB / 310.4 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009685/0.3212, allocations: 372.9 kB / 310.8 MB, free: 6.152 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.316e-05/0.3213, allocations: 37.31 kB / 310.8 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.3215, allocations: 55.89 kB / 310.9 MB, free: 6.062 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.3237, allocations: 0.5375 MB / 311.4 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.3237, allocations: 0 / 311.4 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.3239, allocations: 27.94 kB / 311.5 MB, free: 5.473 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.3239, allocations: 19.98 kB / 311.5 MB, free: 5.453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.3263, allocations: 455.7 kB / 311.9 MB, free: 5.008 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007697/0.3341, allocations: 2.061 MB / 314 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.3367, allocations: 0.6416 MB / 314.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.3368, allocations: 8.562 kB / 314.6 MB, free: 2.184 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.3369, allocations: 35.12 kB / 314.7 MB, free: 2.141 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 5.11e-06/0.3369, allocations: 0 / 314.7 MB, free: 2.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.01234/0.3493, allocations: 2.061 MB / 316.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.3494, allocations: 55.97 kB / 316.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008836/0.3503, allocations: 316.9 kB / 317.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.3505, allocations: 37.7 kB / 317.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.3508, allocations: 237.1 kB / 317.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/0.3512, allocations: 197 kB / 317.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.3513, allocations: 16 kB / 317.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002519/0.3516, allocations: 354.8 kB / 317.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.3526, allocations: 173 kB / 318.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.3538, allocations: 219.8 kB / 318.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.3548, allocations: 178.2 kB / 318.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3549, allocations: 0 / 318.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003579/0.3585, allocations: 0.6734 MB / 319.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.3585, allocations: 12.03 kB / 319.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3586, allocations: 3.938 kB / 319.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.3607, allocations: 251.2 kB / 319.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/0.3617, allocations: 67.91 kB / 319.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/0.3775, allocations: 6.836 MB / 326.3 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007862/0.3783, allocations: 31.98 kB / 326.3 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/0.3784, allocations: 16 kB / 326.4 MB, free: 5.707 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.0005047/0.3789, allocations: 176.9 kB / 326.5 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.3792, allocations: 51.39 kB / 326.6 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.3794, allocations: 60.95 kB / 326.6 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.3795, allocations: 8 kB / 326.7 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/0.3795, allocations: 0 / 326.7 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.3795, allocations: 11.92 kB / 326.7 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005549/0.3851, allocations: 1.345 MB / 328 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.3852, allocations: 0 / 328 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008593/0.386, allocations: 55.97 kB / 328.1 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.3879, allocations: 255.1 kB / 328.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.3881, allocations: 16.17 kB / 328.3 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.4014, allocations: 6.832 MB / 335.2 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.4015, allocations: 4.031 kB / 335.2 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.4046, allocations: 1.053 MB / 336.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.405, allocations: 156.6 kB / 336.4 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4051, allocations: 8 kB / 336.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004682/0.4056, allocations: 27.97 kB / 336.4 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.4058, allocations: 52.48 kB / 336.5 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.4059, allocations: 16 kB / 336.5 MB, free: 10.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004106/0.4063, allocations: 259.2 kB / 336.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4064, allocations: 4 kB / 336.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001165/0.4075, allocations: 172 kB / 336.9 MB, free: 10.5 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.0002176/0.4078, allocations: 111.2 kB / 337 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.4103, allocations: 1.049 MB / 338.1 MB, free: 9.277 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4104, allocations: 0 / 338.1 MB, free: 9.277 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.4123, allocations: 0.8413 MB / 338.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/0.413, allocations: 83.31 kB / 339 MB, free: 8.305 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.4168, allocations: 1.502 MB / 340.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/0.4175, allocations: 0.8909 MB / 341.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003127/0.4178, allocations: 48.55 kB / 341.4 MB, free: 5.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.4179, allocations: 27.44 kB / 341.4 MB, free: 5.793 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4179, allocations: 0 / 341.4 MB, free: 5.793 MB / 282.7 MB Notification: Performance of Templates: time 0.02455/0.4425, allocations: 7.866 MB / 349.3 MB, free: 13.95 MB / 298.7 MB