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_cpp_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 2.166/2.166, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.499e-05, allocations: 4 kB / 258.8 MB, free: 8.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3096, allocations: 44.5 MB / 303.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006533/0.3162, allocations: 4.122 MB / 307.4 MB, free: 9.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.3271, allocations: 5.371 MB / 312.8 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009881/0.3281, allocations: 19.94 kB / 312.8 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.3295, allocations: 310.1 kB / 313.1 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.3324, allocations: 0.6187 MB / 313.7 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.3337, allocations: 267.2 kB / 314 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004769/0.3385, allocations: 1.669 MB / 315.6 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.3389, allocations: 68.25 kB / 315.7 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005932/0.3395, allocations: 239.2 kB / 315.9 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.34, allocations: 270.6 kB / 316.2 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.3416, allocations: 423.6 kB / 316.6 MB, free: 296 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.3419, allocations: 40 kB / 316.7 MB, free: 256 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.342, allocations: 87.33 kB / 316.7 MB, free: 168 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.3423, allocations: 76 kB / 316.8 MB, free: 92 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.344, allocations: 0.9038 MB / 317.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.344, allocations: 0 / 317.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.021e-06/0.3441, allocations: 3.938 kB / 317.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.3441, allocations: 3.938 kB / 317.7 MB, free: 15.18 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.002247/0.3464, allocations: 1.082 MB / 318.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.3464, allocations: 12.03 kB / 318.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.3467, allocations: 134.4 kB / 319 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.3482, allocations: 0.7072 MB / 319.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.3483, allocations: 24.38 kB / 319.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.981e-05/0.3484, allocations: 23.91 kB / 319.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008335/0.3493, allocations: 302.6 kB / 320 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3493, allocations: 4 kB / 320 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.3494, allocations: 12 kB / 320 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.3494, allocations: 11.95 kB / 320 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006908/0.3501, allocations: 221.8 kB / 320.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00282/0.3529, allocations: 1.149 MB / 321.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006618/0.3536, allocations: 246.5 kB / 321.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.355, allocations: 0.7554 MB / 322.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.3551, allocations: 42.5 kB / 322.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 3.897e-06/0.3551, allocations: 0 / 322.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.005079/0.3602, allocations: 1.964 MB / 324.4 MB, free: 7.969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.3603, allocations: 114.8 kB / 324.5 MB, free: 7.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.3618, allocations: 0.7791 MB / 325.3 MB, free: 7.047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.845e-05/0.362, allocations: 37.64 kB / 325.3 MB, free: 7.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.3623, allocations: 352.1 kB / 325.7 MB, free: 6.656 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.3625, allocations: 134 kB / 325.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.3626, allocations: 4 kB / 325.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3627, allocations: 322.8 kB / 326.1 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004443/0.3632, allocations: 124.6 kB / 326.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.3637, allocations: 167.6 kB / 326.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/0.3642, allocations: 175 kB / 326.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3642, allocations: 0 / 326.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001493/0.3657, allocations: 0.4923 MB / 327.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.3658, allocations: 37.7 kB / 327.1 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.078e-05/0.3659, allocations: 15.98 kB / 327.1 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/0.3662, allocations: 65.69 kB / 327.2 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.3667, allocations: 51.86 kB / 327.2 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003485/0.3702, allocations: 3.005 MB / 330.2 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/0.3709, allocations: 16.09 kB / 330.3 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.055e-05/0.371, allocations: 27.94 kB / 330.3 MB, free: 1.715 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.0005955/0.3716, allocations: 255.8 kB / 330.5 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.3719, allocations: 122.5 kB / 330.7 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.3743, allocations: 0.6803 MB / 331.3 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.3744, allocations: 7.938 kB / 331.3 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3744, allocations: 4 kB / 331.4 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3744, allocations: 0 / 331.4 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.3756, allocations: 0.6121 MB / 332 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.566e-05/0.3757, allocations: 16 kB / 332 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.3761, allocations: 35.97 kB / 332 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003391/0.3764, allocations: 69.67 kB / 332.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.591e-05/0.3765, allocations: 16 kB / 332.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003393/0.3799, allocations: 3.016 MB / 335.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.38, allocations: 0 / 335.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.3823, allocations: 0.859 MB / 336 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006599/0.383, allocations: 279.4 kB / 336.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.3833, allocations: 11.94 kB / 336.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.3838, allocations: 15.95 kB / 336.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.3839, allocations: 36.02 kB / 336.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.384, allocations: 16 kB / 336.3 MB, free: 11.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001322/0.3854, allocations: 0.6217 MB / 336.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.3854, allocations: 0 / 336.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001237/0.3866, allocations: 223.9 kB / 337.2 MB, free: 10.44 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.0008158/0.3875, allocations: 299.4 kB / 337.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.3893, allocations: 0.7728 MB / 338.2 MB, free: 9.301 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3894, allocations: 4.062 kB / 338.2 MB, free: 9.297 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.3905, allocations: 0.6175 MB / 338.8 MB, free: 8.617 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.3912, allocations: 98.14 kB / 338.9 MB, free: 8.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.3953, allocations: 1.883 MB / 340.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008297/0.3962, allocations: 1.03 MB / 341.9 MB, free: 5.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.3964, allocations: 43.44 kB / 341.9 MB, free: 5.5 MB / 282.7 MB Notification: Performance of SimCode: time 1.422e-06/0.3964, allocations: 0 / 341.9 MB, free: 5.5 MB / 282.7 MB Notification: Performance of Templates: time 0.03375/0.4302, allocations: 15.97 MB / 357.9 MB, free: 5.52 MB / 298.7 MB