Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 1.011/1.011, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.445e-05, allocations: 4 kB / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1395, allocations: 25.16 MB / 176.6 MB, free: 0 / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05556/0.1951, allocations: 36.15 MB / 212.7 MB, free: 13.3 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.1954, allocations: 67.95 kB / 212.8 MB, free: 13.23 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01596/0.2114, allocations: 3.864 MB / 216.6 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.906e-06/0.2114, allocations: 0 / 216.6 MB, free: 9.352 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.2114, allocations: 4 kB / 216.6 MB, free: 9.348 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000804/0.2122, allocations: 494.2 kB / 217.1 MB, free: 8.82 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.2123, allocations: 8.031 kB / 217.1 MB, free: 8.812 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.831e-05/0.2124, allocations: 23.72 kB / 217.1 MB, free: 8.789 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.2128, allocations: 235.4 kB / 217.4 MB, free: 8.516 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.2128, allocations: 16.44 kB / 217.4 MB, free: 8.5 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.2129, allocations: 16 kB / 217.4 MB, free: 8.484 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.2134, allocations: 217 kB / 217.6 MB, free: 8.258 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.2134, allocations: 4 kB / 217.6 MB, free: 8.254 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.2135, allocations: 15.95 kB / 217.6 MB, free: 8.238 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.2135, allocations: 4 kB / 217.6 MB, free: 8.234 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003825/0.2139, allocations: 136.9 kB / 217.8 MB, free: 8.102 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.2157, allocations: 0.8554 MB / 218.6 MB, free: 7.18 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.2161, allocations: 154.6 kB / 218.8 MB, free: 7.02 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.2164, allocations: 88.8 kB / 218.9 MB, free: 6.93 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.2164, allocations: 3.984 kB / 218.9 MB, free: 6.926 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.2165, allocations: 42.55 kB / 218.9 MB, free: 6.875 MB / 186.7 MB Notification: Performance of pre-optimization done (n=17): time 3.034e-06/0.2165, allocations: 4 kB / 218.9 MB, free: 6.871 MB / 186.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006984/0.2172, allocations: 196 kB / 219.1 MB, free: 6.672 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.2173, allocations: 55.41 kB / 219.2 MB, free: 6.605 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.2175, allocations: 163.2 kB / 219.3 MB, free: 6.438 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.2176, allocations: 25.7 kB / 219.4 MB, free: 6.406 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.2177, allocations: 218.3 kB / 219.6 MB, free: 6.191 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/0.2178, allocations: 55.2 kB / 219.6 MB, free: 6.137 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/0.2178, allocations: 8 kB / 219.6 MB, free: 6.129 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.218, allocations: 322.8 kB / 219.9 MB, free: 5.805 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.2182, allocations: 40.19 kB / 220 MB, free: 5.762 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.2184, allocations: 84.41 kB / 220.1 MB, free: 5.664 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.2186, allocations: 59.89 kB / 220.1 MB, free: 5.605 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.989e-06/0.2186, allocations: 0 / 220.1 MB, free: 5.605 MB / 186.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006533/0.2192, allocations: 230.1 kB / 220.3 MB, free: 5.371 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.2193, allocations: 11.98 kB / 220.4 MB, free: 5.359 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.019e-06/0.2193, allocations: 0 / 220.4 MB, free: 5.359 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.2208, allocations: 220.7 kB / 220.6 MB, free: 5.141 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.221, allocations: 31.98 kB / 220.6 MB, free: 5.109 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006893/0.2217, allocations: 0.6031 MB / 221.2 MB, free: 4.48 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.222, allocations: 31.8 kB / 221.2 MB, free: 4.449 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.222, allocations: 8.078 kB / 221.2 MB, free: 4.441 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: HeatCapacitor1.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(6000.0, min(6000.0, 6000.0)) start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0002239/0.2222, allocations: 130 kB / 221.4 MB, free: 4.309 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.2223, allocations: 15.81 kB / 221.4 MB, free: 4.293 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005627/0.2229, allocations: 212.1 kB / 221.6 MB, free: 4.074 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.708e-06/0.2229, allocations: 4 kB / 221.6 MB, free: 4.07 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.223, allocations: 0 / 221.6 MB, free: 4.07 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.68e-06/0.223, allocations: 3.984 kB / 221.6 MB, free: 4.066 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.2242, allocations: 0.5876 MB / 222.2 MB, free: 3.418 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.2242, allocations: 4.031 kB / 222.2 MB, free: 3.414 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.2245, allocations: 35.91 kB / 222.2 MB, free: 3.379 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/0.2258, allocations: 220.6 kB / 222.4 MB, free: 3.16 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.2259, allocations: 3.953 kB / 222.4 MB, free: 3.156 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006726/0.2266, allocations: 0.6226 MB / 223.1 MB, free: 2.508 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.962e-06/0.2266, allocations: 0 / 223.1 MB, free: 2.508 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/0.2274, allocations: 392.3 kB / 223.5 MB, free: 2.098 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.2276, allocations: 108.9 kB / 223.6 MB, free: 1.973 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.2277, allocations: 8 kB / 223.6 MB, free: 1.965 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.2279, allocations: 11.98 kB / 223.6 MB, free: 1.953 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.228, allocations: 11.98 kB / 223.6 MB, free: 1.941 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.228, allocations: 8 kB / 223.6 MB, free: 1.934 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001638/0.2282, allocations: 132.3 kB / 223.7 MB, free: 1.805 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.2282, allocations: 4.062 kB / 223.7 MB, free: 1.801 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004711/0.2287, allocations: 75.73 kB / 223.8 MB, free: 1.727 MB / 186.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.0002037/0.2289, allocations: 115.2 kB / 223.9 MB, free: 1.605 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.2294, allocations: 146.2 kB / 224.1 MB, free: 1.465 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.79e-06/0.2294, allocations: 0 / 224.1 MB, free: 1.465 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.2296, allocations: 72.23 kB / 224.1 MB, free: 1.395 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.2301, allocations: 44.16 kB / 224.2 MB, free: 1.352 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009458/0.231, allocations: 408.6 kB / 224.6 MB, free: 0.9258 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.2315, allocations: 0.7518 MB / 225.3 MB, free: 152 kB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.2316, allocations: 19.42 kB / 225.3 MB, free: 132 kB / 186.7 MB Notification: Performance of SimCode: time 1.749e-06/0.2316, allocations: 0 / 225.3 MB, free: 132 kB / 186.7 MB Notification: Performance of Templates: time 0.00667/0.2383, allocations: 3.105 MB / 228.5 MB, free: 13.02 MB / 202.7 MB