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_cpp_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 1.784/1.784, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.89e-05, allocations: 4 kB / 228.1 MB, free: 8 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09055/0.09062, allocations: 38.78 MB / 266.9 MB, free: 1.137 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006447/0.09712, allocations: 4.126 MB / 271 MB, free: 12.98 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1078, allocations: 5.362 MB / 276.4 MB, free: 7.605 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007019/0.1085, allocations: 19.94 kB / 276.4 MB, free: 7.586 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.1097, allocations: 310.1 kB / 276.7 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.1124, allocations: 0.6188 MB / 277.3 MB, free: 6.66 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.1136, allocations: 267.2 kB / 277.6 MB, free: 6.398 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004754/0.1183, allocations: 1.684 MB / 279.3 MB, free: 4.711 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.1187, allocations: 52.41 kB / 279.3 MB, free: 4.656 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000605/0.1193, allocations: 247.2 kB / 279.6 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005075/0.1198, allocations: 266.6 kB / 279.8 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.1214, allocations: 423.6 kB / 280.2 MB, free: 3.738 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.1216, allocations: 36 kB / 280.3 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.1218, allocations: 95.31 kB / 280.4 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.1221, allocations: 76 kB / 280.4 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.1238, allocations: 0.8999 MB / 281.3 MB, free: 2.633 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1239, allocations: 0 / 281.3 MB, free: 2.633 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1239, allocations: 0 / 281.3 MB, free: 2.633 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.1239, allocations: 0 / 281.3 MB, free: 2.633 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.002175/0.1261, allocations: 1.09 MB / 282.4 MB, free: 1.488 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1262, allocations: 8.031 kB / 282.4 MB, free: 1.48 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/0.1264, allocations: 130.4 kB / 282.6 MB, free: 1.352 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.128, allocations: 0.7229 MB / 283.3 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.1281, allocations: 16.44 kB / 283.3 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-05/0.1282, allocations: 23.98 kB / 283.3 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/0.129, allocations: 306.6 kB / 283.6 MB, free: 232 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1291, allocations: 0 / 283.6 MB, free: 232 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.1291, allocations: 16 kB / 283.6 MB, free: 216 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1291, allocations: 7.984 kB / 283.6 MB, free: 208 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.1299, allocations: 221.8 kB / 283.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.1327, allocations: 1.141 MB / 285 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.1334, allocations: 250.4 kB / 285.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.1348, allocations: 0.7593 MB / 286 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1348, allocations: 38.81 kB / 286 MB, free: 13.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=38): time 3.036e-06/0.1349, allocations: 0 / 286 MB, free: 13.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.005042/0.1399, allocations: 1.969 MB / 288 MB, free: 11.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/0.1401, allocations: 118.8 kB / 288.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.1416, allocations: 0.7869 MB / 288.9 MB, free: 10.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.685e-05/0.1417, allocations: 29.7 kB / 288.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.1421, allocations: 352.1 kB / 289.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.1423, allocations: 130 kB / 289.4 MB, free: 9.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.1423, allocations: 8 kB / 289.4 MB, free: 9.973 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1425, allocations: 322.8 kB / 289.7 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/0.143, allocations: 128.6 kB / 289.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.1434, allocations: 163.8 kB / 290 MB, free: 9.348 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.1439, allocations: 183.1 kB / 290.2 MB, free: 9.164 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1439, allocations: 0 / 290.2 MB, free: 9.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00141/0.1454, allocations: 490.2 kB / 290.7 MB, free: 8.668 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/0.1454, allocations: 47.59 kB / 290.7 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.491e-05/0.1455, allocations: 12 kB / 290.7 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/0.1459, allocations: 69.62 kB / 290.8 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.1463, allocations: 43.97 kB / 290.8 MB, free: 8.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003461/0.1498, allocations: 3.005 MB / 293.9 MB, free: 5.219 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/0.1504, allocations: 12.03 kB / 293.9 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.781e-05/0.1505, allocations: 24.05 kB / 293.9 MB, free: 5.184 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.0006098/0.1512, allocations: 267.8 kB / 294.2 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.1515, allocations: 118.5 kB / 294.3 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.1539, allocations: 0.7003 MB / 295 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.154, allocations: 8 kB / 295 MB, free: 4.062 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.154, allocations: 4 kB / 295 MB, free: 4.059 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.154, allocations: 3.984 kB / 295 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.1552, allocations: 0.6083 MB / 295.6 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.782e-05/0.1553, allocations: 19.98 kB / 295.6 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.1557, allocations: 31.98 kB / 295.6 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000333/0.156, allocations: 69.62 kB / 295.7 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/0.1561, allocations: 27.92 kB / 295.7 MB, free: 3.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2664/0.4225, allocations: 3.005 MB / 298.7 MB, free: 29.38 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4225, allocations: 0 / 298.7 MB, free: 29.38 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.4253, allocations: 0.8531 MB / 299.6 MB, free: 29.21 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006664/0.426, allocations: 280.5 kB / 299.9 MB, free: 29.11 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.4262, allocations: 8.594 kB / 299.9 MB, free: 29.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/0.4267, allocations: 14.05 kB / 299.9 MB, free: 29.11 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.4269, allocations: 31.95 kB / 299.9 MB, free: 29.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/0.427, allocations: 19.86 kB / 299.9 MB, free: 29.11 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001303/0.4283, allocations: 0.6184 MB / 300.6 MB, free: 29 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.4283, allocations: 0 / 300.6 MB, free: 29 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001258/0.4296, allocations: 223.9 kB / 300.8 MB, free: 29 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.0007885/0.4304, allocations: 299 kB / 301.1 MB, free: 28.91 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.4321, allocations: 0.779 MB / 301.8 MB, free: 28.51 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.4321, allocations: 0.5625 kB / 301.8 MB, free: 28.51 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.4331, allocations: 0.6217 MB / 302.5 MB, free: 28.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.4343, allocations: 93.41 kB / 302.6 MB, free: 28.09 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/0.4383, allocations: 1.89 MB / 304.5 MB, free: 27.03 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006462/0.439, allocations: 1.024 MB / 305.5 MB, free: 26.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.4392, allocations: 41.39 kB / 305.5 MB, free: 26.32 MB / 250.7 MB Notification: Performance of SimCode: time 1.242e-06/0.4392, allocations: 0 / 305.5 MB, free: 26.32 MB / 250.7 MB Notification: Performance of Templates: time 0.0389/0.4781, allocations: 15.98 MB / 321.5 MB, free: 17.07 MB / 250.7 MB