Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.476/2.476, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.689e-05/4.696e-05, allocations: 8 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4176, allocations: 54.86 MB / 359.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.4/2.818, allocations: 0.8624 GB / 1.214 GB, free: 49.44 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/2.818, allocations: 73.39 kB / 1.214 GB, free: 49.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7758/3.594, allocations: 110.6 MB / 1.322 GB, free: 146.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.903e-06/3.594, allocations: 0 / 1.322 GB, free: 146.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/3.594, allocations: 8 kB / 1.322 GB, free: 146.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.003866/3.598, allocations: 0.9388 MB / 1.323 GB, free: 145.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/3.598, allocations: 11.97 kB / 1.323 GB, free: 145.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/3.598, allocations: 82.52 kB / 1.323 GB, free: 145.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/3.615, allocations: 1.273 MB / 1.324 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/3.616, allocations: 378.5 kB / 1.325 GB, free: 144 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/3.616, allocations: 131.6 kB / 1.325 GB, free: 143.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/3.617, allocations: 39.94 kB / 1.325 GB, free: 143.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005281/3.622, allocations: 1.339 MB / 1.326 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.858e-05/3.622, allocations: 3.938 kB / 1.326 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009951/3.623, allocations: 19.94 kB / 1.326 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/3.623, allocations: 52.7 kB / 1.326 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/3.634, allocations: 2.039 MB / 1.328 GB, free: 140.4 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.008802/3.643, allocations: 3.01 MB / 1.331 GB, free: 137.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/3.644, allocations: 106.6 kB / 1.331 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/3.644, allocations: 44.92 kB / 1.331 GB, free: 136.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00372/3.647, allocations: 1.169 MB / 1.332 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/3.648, allocations: 50.48 kB / 1.332 GB, free: 135.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 4.208e-06/3.648, allocations: 0 / 1.332 GB, free: 135.5 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.003798/3.651, allocations: 359 kB / 1.333 GB, free: 135.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/3.652, allocations: 55.41 kB / 1.333 GB, free: 135.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000629/3.652, allocations: 298.4 kB / 1.333 GB, free: 134.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.703e-05/3.652, allocations: 33.7 kB / 1.333 GB, free: 134.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/3.653, allocations: 415.8 kB / 1.333 GB, free: 134.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/3.653, allocations: 71.09 kB / 1.334 GB, free: 134.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/3.653, allocations: 16 kB / 1.334 GB, free: 134.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/3.653, allocations: 346.8 kB / 1.334 GB, free: 133.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007698/3.654, allocations: 105.5 kB / 1.334 GB, free: 133.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009553/3.655, allocations: 0.5191 MB / 1.335 GB, free: 133.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/3.655, allocations: 218.1 kB / 1.335 GB, free: 132.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.006e-05/3.656, allocations: 4 kB / 1.335 GB, free: 132.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003283/3.659, allocations: 0.5914 MB / 1.335 GB, free: 132.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/3.659, allocations: 15.94 kB / 1.335 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/3.659, allocations: 19.94 kB / 1.335 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.124e-05/3.659, allocations: 24 kB / 1.335 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/3.66, allocations: 175.7 kB / 1.336 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000817/3.661, allocations: 0.6176 MB / 1.336 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/3.663, allocations: 87.12 kB / 1.336 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/3.663, allocations: 59.98 kB / 1.336 GB, free: 131.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002655/3.664, allocations: 166.4 kB / 1.336 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/3.664, allocations: 35.62 kB / 1.336 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/3.666, allocations: 238.8 kB / 1.337 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/3.666, allocations: 4 kB / 1.337 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/3.666, allocations: 0 / 1.337 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/3.666, allocations: 3.984 kB / 1.337 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/3.668, allocations: 0.788 MB / 1.337 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/3.668, allocations: 4 kB / 1.337 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/3.668, allocations: 35.92 kB / 1.337 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.958e-05/3.668, allocations: 0 / 1.337 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/3.669, allocations: 15.98 kB / 1.338 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007371/3.669, allocations: 0.5901 MB / 1.338 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/3.669, allocations: 4.031 kB / 1.338 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/3.67, allocations: 339.8 kB / 1.338 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/3.67, allocations: 128.6 kB / 1.339 GB, free: 128.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003299/3.671, allocations: 4 kB / 1.339 GB, free: 128.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/3.671, allocations: 19.98 kB / 1.339 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/3.671, allocations: 15.97 kB / 1.339 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/3.672, allocations: 19.98 kB / 1.339 GB, free: 128.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003262/3.672, allocations: 214.1 kB / 1.339 GB, free: 128.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/3.672, allocations: 0 / 1.339 GB, free: 128.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00229/3.674, allocations: 459.5 kB / 1.339 GB, free: 127.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004234/3.678, allocations: 2.24 MB / 1.341 GB, free: 125.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009982/3.679, allocations: 290.7 kB / 1.342 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/3.68, allocations: 0.875 kB / 1.342 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/3.68, allocations: 51.98 kB / 1.342 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/3.681, allocations: 64.03 kB / 1.342 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1881/3.869, allocations: 52.3 MB / 1.393 GB, free: 72.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/3.869, allocations: 0.7923 MB / 1.394 GB, free: 71.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/3.869, allocations: 131.4 kB / 1.394 GB, free: 71.19 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/3.869, allocations: 0 / 1.394 GB, free: 71.19 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.585/7.455, allocations: 15.22 MB / 1.409 GB, free: 55.95 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat