Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.971e-05, allocations: 4 kB / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3221, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006182/0.3284, allocations: 4.125 MB / 307.4 MB, free: 9.484 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.3386, allocations: 5.357 MB / 312.8 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007498/0.3394, allocations: 23.94 kB / 312.8 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.3405, allocations: 314.1 kB / 313.1 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.3431, allocations: 0.6149 MB / 313.7 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3442, allocations: 275.2 kB / 314 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004493/0.3487, allocations: 1.665 MB / 315.7 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.349, allocations: 72.23 kB / 315.7 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005455/0.3495, allocations: 239.2 kB / 316 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.3501, allocations: 262.6 kB / 316.2 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.3516, allocations: 431.5 kB / 316.7 MB, free: 248 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.3518, allocations: 40 kB / 316.7 MB, free: 208 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.3519, allocations: 87.33 kB / 316.8 MB, free: 120 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.3522, allocations: 76 kB / 316.9 MB, free: 44 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.3537, allocations: 0.896 MB / 317.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3537, allocations: 0 / 317.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3537, allocations: 3.938 kB / 317.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.3538, allocations: 0 / 317.8 MB, free: 15.14 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002084/0.3559, allocations: 1.078 MB / 318.8 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3559, allocations: 16.03 kB / 318.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.3561, allocations: 134.3 kB / 319 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.3576, allocations: 0.7111 MB / 319.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.3577, allocations: 20.38 kB / 319.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/0.3578, allocations: 27.91 kB / 319.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007978/0.3586, allocations: 302.6 kB / 320 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3586, allocations: 0 / 320 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.3587, allocations: 16 kB / 320 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.3587, allocations: 7.953 kB / 320.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000664/0.3594, allocations: 229.7 kB / 320.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.362, allocations: 1.145 MB / 321.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.3626, allocations: 249.3 kB / 321.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.3639, allocations: 0.7554 MB / 322.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3639, allocations: 38.5 kB / 322.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.895e-06/0.364, allocations: 0 / 322.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.004763/0.3687, allocations: 1.972 MB / 324.4 MB, free: 7.926 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.3689, allocations: 110.8 kB / 324.5 MB, free: 7.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.3703, allocations: 0.7869 MB / 325.3 MB, free: 7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.3703, allocations: 29.7 kB / 325.4 MB, free: 6.965 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.3707, allocations: 353.6 kB / 325.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.3709, allocations: 134 kB / 325.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.371, allocations: 4 kB / 325.8 MB, free: 6.477 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3711, allocations: 322 kB / 326.2 MB, free: 6.156 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/0.3715, allocations: 132.6 kB / 326.3 MB, free: 6.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.372, allocations: 159.6 kB / 326.4 MB, free: 5.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.3725, allocations: 183 kB / 326.6 MB, free: 5.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3725, allocations: 4 kB / 326.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001528/0.374, allocations: 0.5561 MB / 327.2 MB, free: 5.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.491e-05/0.3741, allocations: 37.69 kB / 327.2 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.404e-05/0.3742, allocations: 12 kB / 327.2 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.3745, allocations: 73.67 kB / 327.3 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.375, allocations: 47.88 kB / 327.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.3781, allocations: 3.001 MB / 330.3 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.3787, allocations: 16.02 kB / 330.4 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.923e-05/0.3788, allocations: 28.02 kB / 330.4 MB, free: 1.602 MB / 266.7 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005714/0.3794, allocations: 251.9 kB / 330.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.3797, allocations: 122.5 kB / 330.8 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.3819, allocations: 0.6766 MB / 331.4 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.3819, allocations: 11.94 kB / 331.4 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3819, allocations: 3.938 kB / 331.4 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3819, allocations: 3.984 kB / 331.4 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.383, allocations: 0.6199 MB / 332.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.023e-05/0.383, allocations: 15.98 kB / 332.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.3834, allocations: 27.98 kB / 332.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/0.3837, allocations: 73.67 kB / 332.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.3838, allocations: 15.98 kB / 332.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003052/0.3869, allocations: 3.016 MB / 335.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3869, allocations: 0 / 335.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.3891, allocations: 0.8589 MB / 336.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005572/0.3897, allocations: 283.4 kB / 336.4 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.3899, allocations: 8 kB / 336.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.3904, allocations: 19.94 kB / 336.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3906, allocations: 32.03 kB / 336.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/0.3906, allocations: 23.98 kB / 336.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001138/0.3918, allocations: 0.61 MB / 337 MB, free: 10.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3918, allocations: 0 / 337 MB, free: 10.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001085/0.3929, allocations: 231.8 kB / 337.3 MB, free: 10.32 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007205/0.3936, allocations: 299.8 kB / 337.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.3953, allocations: 0.7767 MB / 338.3 MB, free: 9.176 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.3953, allocations: 4.062 kB / 338.3 MB, free: 9.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009938/0.3963, allocations: 0.6214 MB / 339 MB, free: 8.488 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/0.397, allocations: 84.75 kB / 339 MB, free: 8.402 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.4005, allocations: 1.851 MB / 340.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.4012, allocations: 1.026 MB / 341.9 MB, free: 5.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000451/0.4016, allocations: 72.8 kB / 342 MB, free: 5.395 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4018, allocations: 39.44 kB / 342 MB, free: 5.355 MB / 282.7 MB Notification: Performance of SimCode: time 9.01e-07/0.4018, allocations: 0 / 342 MB, free: 5.355 MB / 282.7 MB Notification: Performance of Templates: time 0.0254/0.4272, allocations: 7.862 MB / 349.9 MB, free: 13.52 MB / 298.7 MB