Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.384e-05, allocations: 5.562 kB / 292.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 50.4 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4481/0.5531, allocations: 80.35 MB / 423 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.5535, allocations: 73.56 kB / 423 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03342/0.5869, allocations: 7.876 MB / 430.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.587, allocations: 0 / 430.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.209e-05/0.5871, allocations: 12 kB / 430.9 MB, free: 6.703 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001351/0.5884, allocations: 0.6201 MB / 431.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.5885, allocations: 8.031 kB / 431.6 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.5887, allocations: 77.28 kB / 431.6 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.5888, allocations: 59.2 kB / 431.7 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008336/0.5897, allocations: 357.7 kB / 432 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.5897, allocations: 36.31 kB / 432.1 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.672e-05/0.5898, allocations: 39.09 kB / 432.1 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.5909, allocations: 471.4 kB / 432.6 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.5909, allocations: 3.938 kB / 432.6 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.591, allocations: 22.64 kB / 432.6 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.591, allocations: 12 kB / 432.6 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006604/0.5917, allocations: 207.3 kB / 432.8 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.5953, allocations: 2.808 MB / 435.6 MB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.596, allocations: 151.9 kB / 435.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.5961, allocations: 59.17 kB / 435.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.5963, allocations: 81.11 kB / 435.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.5964, allocations: 41.61 kB / 435.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.236e-06/0.5964, allocations: 0 / 435.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001673/0.5981, allocations: 0.5584 MB / 436.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.5982, allocations: 59.34 kB / 436.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.5987, allocations: 297.3 kB / 436.9 MB, free: 1.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.5987, allocations: 29.02 kB / 436.9 MB, free: 1.055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.599, allocations: 349 kB / 437.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.5991, allocations: 65.53 kB / 437.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.5991, allocations: 6.688 kB / 437.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5993, allocations: 329.3 kB / 437.6 MB, free: 392 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.5995, allocations: 58.56 kB / 437.7 MB, free: 352 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.5998, allocations: 201.2 kB / 437.9 MB, free: 104 kB / 346.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009382/0.6007, allocations: 263.2 kB / 438.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.6008, allocations: 11.94 kB / 438.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008159/0.6016, allocations: 307.6 kB / 438.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.6016, allocations: 4 kB / 438.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.6017, allocations: 8 kB / 438.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/0.6019, allocations: 35.53 kB / 438.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.6024, allocations: 79.53 kB / 438.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.6041, allocations: 1.444 MB / 440 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.6045, allocations: 27.67 kB / 440 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.6045, allocations: 19.98 kB / 440.1 MB, free: 13.95 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.6047, allocations: 131.8 kB / 440.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/0.6048, allocations: 31.62 kB / 440.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.6049, allocations: 37.75 kB / 440.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6049, allocations: 0 / 440.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.605, allocations: 4 kB / 440.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.605, allocations: 0 / 440.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.6064, allocations: 0.649 MB / 440.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.6065, allocations: 4.094 kB / 440.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.6068, allocations: 35.92 kB / 440.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/0.607, allocations: 28.39 kB / 441 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.607, allocations: 0 / 441 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.6084, allocations: 1.324 MB / 442.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6085, allocations: 0 / 442.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007444/0.6092, allocations: 360 kB / 442.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.6094, allocations: 104.6 kB / 442.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.6094, allocations: 7.062 kB / 442.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.6097, allocations: 11.03 kB / 442.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.6097, allocations: 15.94 kB / 442.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.6098, allocations: 6.812 kB / 442.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003791/0.6102, allocations: 230.7 kB / 443 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6102, allocations: 4 kB / 443 MB, free: 11.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006574/0.6108, allocations: 66.81 kB / 443.1 MB, free: 11.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.612, allocations: 0.9651 MB / 444 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007667/0.6128, allocations: 280.9 kB / 444.3 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6129, allocations: 9.312 kB / 444.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.6132, allocations: 158.2 kB / 444.5 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.6136, allocations: 46.8 kB / 444.5 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.6159, allocations: 0.7394 MB / 445.3 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.6165, allocations: 0.8226 MB / 446.1 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.6168, allocations: 162.7 kB / 446.3 MB, free: 8.023 MB / 362.7 MB Notification: Performance of SimCode: time 1.843e-06/0.6168, allocations: 4 kB / 446.3 MB, free: 8.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.1/3.717, allocations: 7.964 MB / 454.2 MB, free: 156 kB / 362.7 MB