Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.067/1.067, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.452e-05, allocations: 4 kB / 151.5 MB, free: 15.48 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1965, allocations: 25.15 MB / 176.6 MB, free: 4 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06801/0.2646, allocations: 36.15 MB / 212.8 MB, free: 13.27 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.2649, allocations: 63.97 kB / 212.9 MB, free: 13.21 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01829/0.2832, allocations: 3.864 MB / 216.7 MB, free: 9.332 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2833, allocations: 4 kB / 216.7 MB, free: 9.328 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.2833, allocations: 4 kB / 216.7 MB, free: 9.324 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.001022/0.2844, allocations: 490.2 kB / 217.2 MB, free: 8.801 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.2844, allocations: 8.031 kB / 217.2 MB, free: 8.793 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.631e-05/0.2845, allocations: 66.53 kB / 217.3 MB, free: 8.719 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.028e-05/0.2846, allocations: 23.72 kB / 217.3 MB, free: 8.695 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.285, allocations: 227.4 kB / 217.5 MB, free: 8.43 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.2851, allocations: 16.44 kB / 217.5 MB, free: 8.414 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.2851, allocations: 20 kB / 217.6 MB, free: 8.395 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.2857, allocations: 217 kB / 217.8 MB, free: 8.172 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.2858, allocations: 3.953 kB / 217.8 MB, free: 8.168 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/0.2858, allocations: 11.98 kB / 217.8 MB, free: 8.156 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.2859, allocations: 7.984 kB / 217.8 MB, free: 8.148 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.2863, allocations: 140.9 kB / 217.9 MB, free: 8.012 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.2884, allocations: 0.8515 MB / 218.8 MB, free: 7.094 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.2888, allocations: 146.5 kB / 218.9 MB, free: 6.941 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.2891, allocations: 96.94 kB / 219 MB, free: 6.844 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.2892, allocations: 0 / 219 MB, free: 6.844 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.2892, allocations: 34.56 kB / 219.1 MB, free: 6.801 MB / 186.7 MB Notification: Performance of pre-optimization done (n=17): time 1.853e-06/0.2892, allocations: 0 / 219.1 MB, free: 6.801 MB / 186.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008412/0.2901, allocations: 212.4 kB / 219.3 MB, free: 6.586 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.2901, allocations: 51.41 kB / 219.3 MB, free: 6.523 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.2904, allocations: 159.2 kB / 219.5 MB, free: 6.359 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.2904, allocations: 33.7 kB / 219.5 MB, free: 6.32 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.2906, allocations: 214.4 kB / 219.7 MB, free: 6.105 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.355e-05/0.2907, allocations: 63.09 kB / 219.8 MB, free: 6.043 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.2907, allocations: 4 kB / 219.8 MB, free: 6.039 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2908, allocations: 322.8 kB / 220.1 MB, free: 5.715 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.291, allocations: 48.17 kB / 220.1 MB, free: 5.664 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.2912, allocations: 76.48 kB / 220.2 MB, free: 5.574 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.2914, allocations: 59.97 kB / 220.3 MB, free: 5.516 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2914, allocations: 3.938 kB / 220.3 MB, free: 5.512 MB / 186.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000691/0.2921, allocations: 223.4 kB / 220.5 MB, free: 5.285 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.2921, allocations: 8 kB / 220.5 MB, free: 5.277 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2921, allocations: 0 / 220.5 MB, free: 5.277 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/0.2944, allocations: 216.7 kB / 220.7 MB, free: 5.062 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.2948, allocations: 39.98 kB / 220.8 MB, free: 5.023 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007134/0.2955, allocations: 0.6109 MB / 221.4 MB, free: 4.387 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.2958, allocations: 27.81 kB / 221.4 MB, free: 4.359 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.2958, allocations: 7.953 kB / 221.4 MB, free: 4.352 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.0002378/0.2961, allocations: 129.6 kB / 221.5 MB, free: 4.219 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.2962, allocations: 15.81 kB / 221.5 MB, free: 4.203 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006527/0.2968, allocations: 217.5 kB / 221.8 MB, free: 3.98 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.2968, allocations: 4 kB / 221.8 MB, free: 3.977 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2969, allocations: 0 / 221.8 MB, free: 3.977 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2969, allocations: 0 / 221.8 MB, free: 3.977 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.2983, allocations: 0.5948 MB / 222.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2984, allocations: 0 / 222.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.2987, allocations: 32.02 kB / 222.4 MB, free: 3.289 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/0.3008, allocations: 216.6 kB / 222.6 MB, free: 3.074 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.3009, allocations: 11.95 kB / 222.6 MB, free: 3.062 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007329/0.3017, allocations: 0.6148 MB / 223.2 MB, free: 2.422 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.3017, allocations: 4.031 kB / 223.2 MB, free: 2.418 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.3027, allocations: 390.9 kB / 223.6 MB, free: 2.008 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.3029, allocations: 109.1 kB / 223.7 MB, free: 1.883 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.303, allocations: 7.984 kB / 223.7 MB, free: 1.875 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.3033, allocations: 12 kB / 223.7 MB, free: 1.863 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.3034, allocations: 7.984 kB / 223.7 MB, free: 1.855 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.3034, allocations: 12 kB / 223.8 MB, free: 1.844 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001838/0.3036, allocations: 140.3 kB / 223.9 MB, free: 1.707 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3036, allocations: 0 / 223.9 MB, free: 1.707 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004965/0.3041, allocations: 71.78 kB / 224 MB, free: 1.637 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.001475/0.3056, allocations: 1.015 MB / 225 MB, free: 0.5898 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006267/0.3063, allocations: 143.9 kB / 225.1 MB, free: 460 kB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.3063, allocations: 0 / 225.1 MB, free: 460 kB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.3066, allocations: 74.27 kB / 225.2 MB, free: 388 kB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.3072, allocations: 48.45 kB / 225.2 MB, free: 340 kB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3088, allocations: 460.2 kB / 225.7 MB, free: 15.84 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.3093, allocations: 0.7479 MB / 226.4 MB, free: 15.06 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3095, allocations: 59.42 kB / 226.5 MB, free: 15 MB / 202.7 MB Notification: Performance of SimCode: time 1.934e-06/0.3095, allocations: 0 / 226.5 MB, free: 15 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.5/2.81, allocations: 4.082 MB / 230.6 MB, free: 10.92 MB / 202.7 MB