Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.774e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09056, allocations: 50.42 MB / 342.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/0.449, allocations: 79.82 MB / 422.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.4492, allocations: 70.84 kB / 422.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.4654, allocations: 4.012 MB / 426.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.361e-06/0.4655, allocations: 0 / 426.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.4655, allocations: 4 kB / 426.5 MB, free: 10.86 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000817/0.4664, allocations: 494.6 kB / 426.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4664, allocations: 8.031 kB / 426.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/0.4665, allocations: 23.72 kB / 427 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.4669, allocations: 229.4 kB / 427.2 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.4669, allocations: 19.19 kB / 427.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.467, allocations: 27.62 kB / 427.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.4674, allocations: 176.8 kB / 427.4 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.4674, allocations: 0 / 427.4 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.4675, allocations: 7.438 kB / 427.4 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.4675, allocations: 4 kB / 427.4 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.4679, allocations: 140.8 kB / 427.6 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.4696, allocations: 0.8597 MB / 428.4 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.47, allocations: 148.8 kB / 428.6 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.4702, allocations: 84.36 kB / 428.6 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.4703, allocations: 11.94 kB / 428.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.4703, allocations: 37.88 kB / 428.7 MB, free: 8.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 4.84e-06/0.4704, allocations: 0 / 428.7 MB, free: 8.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006617/0.471, allocations: 201.7 kB / 428.9 MB, free: 8.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.4711, allocations: 55.34 kB / 428.9 MB, free: 8.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.4713, allocations: 154.9 kB / 429.1 MB, free: 8.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.4714, allocations: 29.33 kB / 429.1 MB, free: 8.367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.4715, allocations: 211.9 kB / 429.3 MB, free: 8.176 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.4716, allocations: 61.72 kB / 429.4 MB, free: 8.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.4716, allocations: 3.5 kB / 429.4 MB, free: 8.121 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4718, allocations: 318.4 kB / 429.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.4719, allocations: 43.5 kB / 429.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.4721, allocations: 63.58 kB / 429.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.4722, allocations: 52.48 kB / 429.9 MB, free: 7.691 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.802e-06/0.4722, allocations: 0 / 429.9 MB, free: 7.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005469/0.4728, allocations: 209.7 kB / 430.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4728, allocations: 4 kB / 430.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4729, allocations: 4 kB / 430.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.4744, allocations: 220.9 kB / 430.3 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.4746, allocations: 31.92 kB / 430.3 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006818/0.4753, allocations: 0.6028 MB / 430.9 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.4755, allocations: 11.84 kB / 430.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.4756, allocations: 15.27 kB / 431 MB, free: 6.672 MB / 346.7 MB 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.4757, allocations: 111.5 kB / 431.1 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.4758, allocations: 15.81 kB / 431.1 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/0.4763, allocations: 219.3 kB / 431.3 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-06/0.4764, allocations: 0 / 431.3 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.442e-06/0.4764, allocations: 0 / 431.3 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.4764, allocations: 3.984 kB / 431.3 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.4776, allocations: 0.5871 MB / 431.9 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-06/0.4776, allocations: 0 / 431.9 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.4778, allocations: 27.92 kB / 431.9 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.4792, allocations: 216.7 kB / 432.1 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.4793, allocations: 3.953 kB / 432.1 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006795/0.48, allocations: 0.625 MB / 432.8 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.038e-06/0.48, allocations: 3.938 kB / 432.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.4807, allocations: 387.5 kB / 433.1 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.4809, allocations: 100.4 kB / 433.2 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.4809, allocations: 0 / 433.2 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.4811, allocations: 15.22 kB / 433.2 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.4812, allocations: 15.55 kB / 433.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.4812, allocations: 12.05 kB / 433.3 MB, free: 4.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.4814, allocations: 136.6 kB / 433.4 MB, free: 4.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.4814, allocations: 0 / 433.4 MB, free: 4.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.4819, allocations: 66.16 kB / 433.5 MB, free: 4.336 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002098/0.4821, allocations: 124.5 kB / 433.6 MB, free: 4.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.4825, allocations: 123.5 kB / 433.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.679e-06/0.4826, allocations: 4.062 kB / 433.7 MB, free: 4.121 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.4828, allocations: 77.11 kB / 433.8 MB, free: 4.066 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.4831, allocations: 19.36 kB / 433.8 MB, free: 4.055 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.4841, allocations: 413.7 kB / 434.2 MB, free: 3.648 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.4846, allocations: 0.748 MB / 435 MB, free: 2.875 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.4847, allocations: 15.44 kB / 435 MB, free: 2.859 MB / 346.7 MB Notification: Performance of SimCode: time 1.638e-06/0.4847, allocations: 0 / 435 MB, free: 2.859 MB / 346.7 MB Notification: Performance of Templates: time 0.006437/0.4911, allocations: 3.019 MB / 438 MB, free: 15.87 MB / 362.7 MB