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.1_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 1.69/1.69, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.774e-05/4.763e-05, allocations: 4 kB / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.08423, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006314/0.0906, allocations: 4.131 MB / 271 MB, free: 12.33 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.101, allocations: 5.358 MB / 276.4 MB, free: 6.961 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006856/0.1018, allocations: 19.94 kB / 276.4 MB, free: 6.941 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.1029, allocations: 318.1 kB / 276.7 MB, free: 6.629 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.1056, allocations: 0.6149 MB / 277.3 MB, free: 6.012 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1069, allocations: 263.3 kB / 277.6 MB, free: 5.754 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004548/0.1115, allocations: 1.673 MB / 279.3 MB, free: 4.078 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.1118, allocations: 60.41 kB / 279.3 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005513/0.1124, allocations: 247.2 kB / 279.6 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.1129, allocations: 266.6 kB / 279.8 MB, free: 3.512 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.1144, allocations: 419.6 kB / 280.2 MB, free: 3.102 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.1146, allocations: 40 kB / 280.3 MB, free: 3.062 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.1148, allocations: 91.31 kB / 280.4 MB, free: 2.973 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.1151, allocations: 76 kB / 280.4 MB, free: 2.898 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.1167, allocations: 0.8999 MB / 281.3 MB, free: 1.996 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1167, allocations: 4 kB / 281.3 MB, free: 1.992 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1167, allocations: 0 / 281.3 MB, free: 1.992 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.1168, allocations: 0 / 281.3 MB, free: 1.992 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002086/0.1189, allocations: 1.09 MB / 282.4 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1189, allocations: 12.03 kB / 282.5 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.1191, allocations: 126.4 kB / 282.6 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.1207, allocations: 0.719 MB / 283.3 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/0.1207, allocations: 16.44 kB / 283.3 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-05/0.1208, allocations: 24 kB / 283.3 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008078/0.1216, allocations: 306.6 kB / 283.6 MB, free: 15.58 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1217, allocations: 0 / 283.6 MB, free: 15.58 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.1217, allocations: 8 kB / 283.6 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.1218, allocations: 8 kB / 283.6 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006639/0.1224, allocations: 233.7 kB / 283.9 MB, free: 15.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.1251, allocations: 1.145 MB / 285 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.1257, allocations: 246.4 kB / 285.3 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.1271, allocations: 0.7554 MB / 286 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.1271, allocations: 42.81 kB / 286.1 MB, free: 12.95 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 2.986e-06/0.1271, allocations: 0 / 286.1 MB, free: 12.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.004894/0.132, allocations: 1.969 MB / 288 MB, free: 10.79 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/0.1322, allocations: 118.7 kB / 288.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.1337, allocations: 0.7869 MB / 288.9 MB, free: 9.852 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/0.1338, allocations: 29.7 kB / 289 MB, free: 9.816 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.1342, allocations: 357.6 kB / 289.3 MB, free: 9.461 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.1344, allocations: 134 kB / 289.4 MB, free: 9.328 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.1344, allocations: 4 kB / 289.4 MB, free: 9.324 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1346, allocations: 318 kB / 289.8 MB, free: 9.008 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.135, allocations: 128.6 kB / 289.9 MB, free: 8.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.1355, allocations: 163.8 kB / 290 MB, free: 8.707 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/0.136, allocations: 183.1 kB / 290.2 MB, free: 8.523 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.136, allocations: 0 / 290.2 MB, free: 8.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001593/0.1376, allocations: 0.5559 MB / 290.8 MB, free: 7.949 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.867e-05/0.1377, allocations: 43.56 kB / 290.8 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.932e-05/0.1378, allocations: 15.98 kB / 290.8 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.1381, allocations: 69.62 kB / 290.9 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.1385, allocations: 47.97 kB / 290.9 MB, free: 7.766 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003389/0.142, allocations: 3.009 MB / 294 MB, free: 4.492 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/0.1426, allocations: 12 kB / 294 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-05/0.1427, allocations: 28.05 kB / 294 MB, free: 4.453 MB / 250.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.000572/0.1433, allocations: 251.9 kB / 294.2 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.1436, allocations: 122.5 kB / 294.4 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.1459, allocations: 0.6965 MB / 295.1 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.1459, allocations: 4 kB / 295.1 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.146, allocations: 0 / 295.1 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.146, allocations: 3.984 kB / 295.1 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.1472, allocations: 0.6161 MB / 295.7 MB, free: 2.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.111e-05/0.1473, allocations: 12 kB / 295.7 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.1476, allocations: 35.97 kB / 295.7 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003195/0.148, allocations: 81.56 kB / 295.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.148, allocations: 12 kB / 295.8 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2457/0.3937, allocations: 2.999 MB / 298.8 MB, free: 28.91 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3938, allocations: 0.8438 kB / 298.8 MB, free: 28.91 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003171/0.397, allocations: 0.8539 MB / 299.7 MB, free: 28.74 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009271/0.398, allocations: 285.8 kB / 300 MB, free: 28.64 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/0.3983, allocations: 12.59 kB / 300 MB, free: 28.64 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/0.3991, allocations: 13.73 kB / 300 MB, free: 28.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.3993, allocations: 30.47 kB / 300 MB, free: 28.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.439e-05/0.3995, allocations: 18.61 kB / 300 MB, free: 28.64 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001852/0.4013, allocations: 0.6169 MB / 300.6 MB, free: 28.54 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.094e-06/0.4014, allocations: 0 / 300.6 MB, free: 28.54 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001735/0.4031, allocations: 230.5 kB / 300.9 MB, free: 28.54 MB / 250.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.001093/0.4043, allocations: 300.3 kB / 301.2 MB, free: 28.45 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.4065, allocations: 0.7786 MB / 301.9 MB, free: 28.04 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.4066, allocations: 0.5625 kB / 301.9 MB, free: 28.04 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.4081, allocations: 0.6192 MB / 302.6 MB, free: 27.62 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009558/0.4091, allocations: 91.73 kB / 302.6 MB, free: 27.57 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.4138, allocations: 1.858 MB / 304.5 MB, free: 26.53 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008896/0.4147, allocations: 1.024 MB / 305.5 MB, free: 25.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0006602/0.4154, allocations: 74.55 kB / 305.6 MB, free: 25.81 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.4156, allocations: 39.3 kB / 305.6 MB, free: 25.8 MB / 250.7 MB Notification: Performance of SimCode: time 1.292e-06/0.4156, allocations: 1.469 kB / 305.6 MB, free: 25.8 MB / 250.7 MB Notification: Performance of Templates: time 0.03373/0.4494, allocations: 7.874 MB / 313.5 MB, free: 23.11 MB / 250.7 MB