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 0.9917/0.9917, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.59e-05, allocations: 4 kB / 154.5 MB, free: 2.828 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05309/0.05314, allocations: 25.18 MB / 179.7 MB, free: 9.613 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003212/0.0564, allocations: 1.899 MB / 181.6 MB, free: 7.707 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.05763, allocations: 479.3 kB / 182.1 MB, free: 7.238 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.05779, allocations: 8 kB / 182.1 MB, free: 7.23 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 7.094e-05/0.05788, allocations: 19.83 kB / 182.1 MB, free: 7.211 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.0582, allocations: 91.72 kB / 182.2 MB, free: 7.121 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.0584, allocations: 43.95 kB / 182.2 MB, free: 7.078 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.05873, allocations: 155.6 kB / 182.4 MB, free: 6.926 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.05892, allocations: 56.33 kB / 182.4 MB, free: 6.871 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.05912, allocations: 71.84 kB / 182.5 MB, free: 6.801 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.05934, allocations: 99.59 kB / 182.6 MB, free: 6.703 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.05947, allocations: 23.98 kB / 182.6 MB, free: 6.68 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.05952, allocations: 8 kB / 182.6 MB, free: 6.672 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.05958, allocations: 35.84 kB / 182.7 MB, free: 6.637 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 7.226e-05/0.05967, allocations: 24 kB / 182.7 MB, free: 6.613 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.06001, allocations: 195.7 kB / 182.9 MB, free: 6.422 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.06003, allocations: 4 kB / 182.9 MB, free: 6.418 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.06004, allocations: 0 / 182.9 MB, free: 6.418 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.06006, allocations: 0 / 182.9 MB, free: 6.418 MB / 154.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.001036/0.06111, allocations: 495.1 kB / 183.4 MB, free: 5.887 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.06117, allocations: 12.03 kB / 183.4 MB, free: 5.875 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/0.06126, allocations: 23.72 kB / 183.4 MB, free: 5.852 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.06166, allocations: 235.4 kB / 183.6 MB, free: 5.578 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.0617, allocations: 16.44 kB / 183.6 MB, free: 5.562 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/0.06178, allocations: 24 kB / 183.7 MB, free: 5.539 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.0624, allocations: 225.8 kB / 183.9 MB, free: 5.309 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.06243, allocations: 0 / 183.9 MB, free: 5.309 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.06247, allocations: 8 kB / 183.9 MB, free: 5.301 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.0625, allocations: 11.95 kB / 183.9 MB, free: 5.289 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.06304, allocations: 157.7 kB / 184.1 MB, free: 5.137 MB / 154.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.06513, allocations: 1.014 MB / 185.1 MB, free: 4.016 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/0.06564, allocations: 150.6 kB / 185.2 MB, free: 3.859 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.06569, allocations: 0 / 185.2 MB, free: 3.859 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.06574, allocations: 34.56 kB / 185.3 MB, free: 3.816 MB / 154.7 MB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.06575, allocations: 3.938 kB / 185.3 MB, free: 3.812 MB / 154.7 MB Notification: Performance of matching and sorting (n=17): time 0.00204/0.0678, allocations: 429.2 kB / 185.7 MB, free: 3.367 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.06787, allocations: 67.33 kB / 185.7 MB, free: 3.289 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.06813, allocations: 158.4 kB / 185.9 MB, free: 3.125 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.06817, allocations: 25.7 kB / 185.9 MB, free: 3.094 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.06833, allocations: 226.3 kB / 186.1 MB, free: 2.871 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.06841, allocations: 67.03 kB / 186.2 MB, free: 2.805 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.06844, allocations: 4 kB / 186.2 MB, free: 2.801 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.06859, allocations: 322.8 kB / 186.5 MB, free: 2.477 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.0688, allocations: 52.17 kB / 186.6 MB, free: 2.426 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.06905, allocations: 96.16 kB / 186.7 MB, free: 2.32 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.06931, allocations: 63.98 kB / 186.7 MB, free: 2.258 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.06933, allocations: 0 / 186.7 MB, free: 2.258 MB / 154.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007434/0.07008, allocations: 245.4 kB / 187 MB, free: 2.012 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.07012, allocations: 11.95 kB / 187 MB, free: 2 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.07014, allocations: 0 / 187 MB, free: 2 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/0.07239, allocations: 212.6 kB / 187.2 MB, free: 1.789 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.07273, allocations: 43.91 kB / 187.2 MB, free: 1.746 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006902/0.07343, allocations: 0.6147 MB / 187.9 MB, free: 1.105 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.07372, allocations: 19.84 kB / 187.9 MB, free: 1.086 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.07376, allocations: 8 kB / 187.9 MB, free: 1.078 MB / 154.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" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "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.0003026/0.07407, allocations: 150.3 kB / 188 MB, free: 0.9219 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.07414, allocations: 15.81 kB / 188 MB, free: 0.9062 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007304/0.07489, allocations: 236.2 kB / 188.3 MB, free: 0.6641 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.07491, allocations: 0 / 188.3 MB, free: 0.6641 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.07493, allocations: 8 kB / 188.3 MB, free: 0.6562 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.07494, allocations: 3.984 kB / 188.3 MB, free: 0.6523 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.07543, allocations: 293.4 kB / 188.6 MB, free: 324 kB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.07545, allocations: 0 / 188.6 MB, free: 324 kB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.07575, allocations: 31.97 kB / 188.6 MB, free: 292 kB / 154.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.0778, allocations: 224.5 kB / 188.8 MB, free: 64 kB / 154.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.07785, allocations: 4 kB / 188.8 MB, free: 60 kB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007059/0.07857, allocations: 0.6186 MB / 189.4 MB, free: 15.41 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.07859, allocations: 3.938 kB / 189.4 MB, free: 15.41 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009211/0.07952, allocations: 392.5 kB / 189.8 MB, free: 15.01 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.07969, allocations: 116.8 kB / 189.9 MB, free: 14.88 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.07975, allocations: 4 kB / 189.9 MB, free: 14.87 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.08002, allocations: 15.98 kB / 190 MB, free: 14.86 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.08009, allocations: 7.984 kB / 190 MB, free: 14.85 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.08013, allocations: 12.06 kB / 190 MB, free: 14.84 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001686/0.08031, allocations: 141.1 kB / 190.1 MB, free: 14.7 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.08032, allocations: 0 / 190.1 MB, free: 14.7 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004266/0.08076, allocations: 67.75 kB / 190.2 MB, free: 14.63 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.000192/0.08096, allocations: 111.2 kB / 190.3 MB, free: 14.52 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.08163, allocations: 160.9 kB / 190.5 MB, free: 14.36 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.08165, allocations: 0 / 190.5 MB, free: 14.36 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.08198, allocations: 102.7 kB / 190.6 MB, free: 14.26 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.08258, allocations: 48.39 kB / 190.6 MB, free: 14.21 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.08403, allocations: 0.6841 MB / 191.3 MB, free: 13.5 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.08442, allocations: 0.7478 MB / 192 MB, free: 12.73 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/0.0845, allocations: 15.44 kB / 192 MB, free: 12.71 MB / 170.7 MB Notification: Performance of SimCode: time 9.42e-07/0.08451, allocations: 0 / 192 MB, free: 12.71 MB / 170.7 MB Notification: Performance of Templates: time 0.007724/0.09225, allocations: 3.132 MB / 195.2 MB, free: 9.578 MB / 170.7 MB