Running command: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 2.082/2.082, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.688e-05, allocations: 0 / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 50.41 MB / 345 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006853/0.1128, allocations: 4.069 MB / 349 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.1241, allocations: 5.424 MB / 354.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008767/0.125, allocations: 15.94 kB / 354.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.1264, allocations: 310.1 kB / 354.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002927/0.1293, allocations: 0.611 MB / 355.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1307, allocations: 283.1 kB / 355.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0049/0.1357, allocations: 1.677 MB / 357.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.136, allocations: 64.39 kB / 357.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006633/0.1367, allocations: 251.2 kB / 357.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.1372, allocations: 270.6 kB / 357.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.1389, allocations: 439.6 kB / 358.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.1392, allocations: 36 kB / 358.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1393, allocations: 91.27 kB / 358.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.1397, allocations: 76 kB / 358.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.1415, allocations: 0.896 MB / 359.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1416, allocations: 0 / 359.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1416, allocations: 0 / 359.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.076e-05/0.1416, allocations: 0 / 359.4 MB, free: 10.46 MB / 298.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.002312/0.1439, allocations: 1.09 MB / 360.5 MB, free: 9.309 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.144, allocations: 12.03 kB / 360.5 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/0.1443, allocations: 126.4 kB / 360.7 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.146, allocations: 0.7188 MB / 361.4 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.1461, allocations: 20.44 kB / 361.4 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/0.1462, allocations: 23.95 kB / 361.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008401/0.147, allocations: 302.6 kB / 361.7 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1471, allocations: 15.94 kB / 361.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.1471, allocations: 8 kB / 361.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.1472, allocations: 11.98 kB / 361.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007348/0.1479, allocations: 221.8 kB / 362 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.1507, allocations: 1.145 MB / 363.1 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.1515, allocations: 250.4 kB / 363.4 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.1528, allocations: 0.7555 MB / 364.1 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.1529, allocations: 38.56 kB / 364.2 MB, free: 5.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 3.367e-06/0.1529, allocations: 0 / 364.2 MB, free: 5.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.005154/0.1581, allocations: 1.969 MB / 366.1 MB, free: 3.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.987e-05/0.1583, allocations: 118.8 kB / 366.2 MB, free: 3.102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.1598, allocations: 0.7791 MB / 367 MB, free: 2.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.386e-05/0.1599, allocations: 33.7 kB / 367.1 MB, free: 2.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.1603, allocations: 352 kB / 367.4 MB, free: 1.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.1605, allocations: 130.1 kB / 367.5 MB, free: 1.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.1605, allocations: 4 kB / 367.5 MB, free: 1.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1607, allocations: 330.8 kB / 367.9 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.1611, allocations: 128.5 kB / 368 MB, free: 1.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.1616, allocations: 159.8 kB / 368.1 MB, free: 1.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.1621, allocations: 179.1 kB / 368.3 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1621, allocations: 0 / 368.3 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001481/0.1636, allocations: 498.2 kB / 368.8 MB, free: 496 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-05/0.1637, allocations: 41.64 kB / 368.8 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.072e-05/0.1638, allocations: 15.98 kB / 368.9 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003537/0.1641, allocations: 65.69 kB / 368.9 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.1646, allocations: 43.97 kB / 369 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/0.1681, allocations: 3.012 MB / 372 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/0.1687, allocations: 16.06 kB / 372 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.733e-05/0.1688, allocations: 19.98 kB / 372 MB, free: 12.99 MB / 314.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.0006005/0.1695, allocations: 251.9 kB / 372.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.1697, allocations: 122.5 kB / 372.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.1721, allocations: 0.6883 MB / 373.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.1722, allocations: 0 / 373.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.1722, allocations: 7.953 kB / 373.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.1722, allocations: 3.984 kB / 373.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.1734, allocations: 0.6121 MB / 373.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-05/0.1734, allocations: 16 kB / 373.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.1738, allocations: 39.91 kB / 373.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003287/0.1742, allocations: 69.67 kB / 373.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/0.1742, allocations: 19.98 kB / 373.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00334/0.1776, allocations: 3.012 MB / 376.8 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1776, allocations: 0 / 376.8 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.1799, allocations: 0.8666 MB / 377.7 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/0.1806, allocations: 275.5 kB / 378 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.1808, allocations: 8 kB / 378 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005116/0.1813, allocations: 12 kB / 378 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.1815, allocations: 40.02 kB / 378 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.6e-05/0.1816, allocations: 19.98 kB / 378.1 MB, free: 6.543 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0012/0.1828, allocations: 0.6178 MB / 378.7 MB, free: 5.922 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1828, allocations: 0 / 378.7 MB, free: 5.922 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001244/0.1841, allocations: 215.9 kB / 378.9 MB, free: 5.711 MB / 314.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.0008624/0.1849, allocations: 294.9 kB / 379.2 MB, free: 5.414 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.1868, allocations: 0.7884 MB / 380 MB, free: 4.562 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1868, allocations: 4.062 kB / 380 MB, free: 4.559 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.1879, allocations: 0.6098 MB / 380.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/0.1888, allocations: 104.7 kB / 380.7 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.1926, allocations: 1.898 MB / 382.6 MB, free: 1.844 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/0.1934, allocations: 1.019 MB / 383.6 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.1936, allocations: 47.42 kB / 383.6 MB, free: 0.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1937, allocations: 0 / 383.6 MB, free: 0.75 MB / 314.7 MB Notification: Performance of Templates: time 0.03277/0.2264, allocations: 15.98 MB / 399.6 MB, free: 0.7812 MB / 330.7 MB