Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.299e-05/4.294e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.34/11.45, allocations: 3.623 GB / 3.938 GB, free: 63.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/11.45, allocations: 77.45 kB / 3.938 GB, free: 63.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.89/13.34, allocations: 302.4 MB / 4.233 GB, free: 62.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.555e-06/13.34, allocations: 0 / 4.233 GB, free: 62.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.367e-05/13.34, allocations: 11.81 kB / 4.233 GB, free: 62.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.006394/13.35, allocations: 1.592 MB / 4.234 GB, free: 61.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/13.35, allocations: 11.28 kB / 4.235 GB, free: 61.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/13.35, allocations: 79.78 kB / 4.235 GB, free: 61.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/13.35, allocations: 50.91 kB / 4.235 GB, free: 61.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009023/13.35, allocations: 413.2 kB / 4.235 GB, free: 61.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/13.35, allocations: 28.09 kB / 4.235 GB, free: 61.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.888e-05/13.35, allocations: 35.25 kB / 4.235 GB, free: 61.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/13.35, allocations: 496.3 kB / 4.236 GB, free: 60.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/13.35, allocations: 3.938 kB / 4.236 GB, free: 60.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/13.35, allocations: 14.03 kB / 4.236 GB, free: 60.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/13.35, allocations: 10.44 kB / 4.236 GB, free: 60.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/13.35, allocations: 440.7 kB / 4.236 GB, free: 60.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004166/13.36, allocations: 1.934 MB / 4.238 GB, free: 59.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/13.36, allocations: 356.8 kB / 4.238 GB, free: 59.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/13.36, allocations: 127.9 kB / 4.238 GB, free: 59.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/13.36, allocations: 0.9569 MB / 4.239 GB, free: 58.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/13.36, allocations: 44.62 kB / 4.239 GB, free: 58.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.286e-06/13.36, allocations: 0 / 4.239 GB, free: 58.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008719/13.36, allocations: 257.2 kB / 4.24 GB, free: 58.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/13.36, allocations: 114.4 kB / 4.24 GB, free: 58.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/13.36, allocations: 278.4 kB / 4.24 GB, free: 58.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/13.36, allocations: 29.39 kB / 4.24 GB, free: 58.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/13.36, allocations: 308.2 kB / 4.24 GB, free: 58.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/13.36, allocations: 99.62 kB / 4.24 GB, free: 57.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/13.36, allocations: 7.375 kB / 4.24 GB, free: 57.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.443e-05/13.36, allocations: 329.6 kB / 4.241 GB, free: 57.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/13.36, allocations: 108.1 kB / 4.241 GB, free: 57.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/13.36, allocations: 274.5 kB / 4.241 GB, free: 57.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/13.36, allocations: 212.1 kB / 4.241 GB, free: 57.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/13.36, allocations: 3.781 kB / 4.241 GB, free: 57.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001148/13.36, allocations: 480.3 kB / 4.242 GB, free: 57.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.512e-05/13.36, allocations: 71.16 kB / 4.242 GB, free: 57.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/13.36, allocations: 3.438 kB / 4.242 GB, free: 57.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/13.36, allocations: 13.78 kB / 4.242 GB, free: 57.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007386/13.37, allocations: 98.25 kB / 4.242 GB, free: 57.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/13.37, allocations: 11.81 kB / 4.242 GB, free: 57.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006236/13.37, allocations: 68.81 kB / 4.242 GB, free: 57.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/13.37, allocations: 26.84 kB / 4.242 GB, free: 57.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001573/13.37, allocations: 143.1 kB / 4.242 GB, free: 57.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/13.37, allocations: 35.09 kB / 4.242 GB, free: 57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/13.37, allocations: 401 kB / 4.243 GB, free: 56.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/13.37, allocations: 3.344 kB / 4.243 GB, free: 56.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/13.37, allocations: 0 / 4.243 GB, free: 56.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/13.37, allocations: 10.66 kB / 4.243 GB, free: 56.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/13.37, allocations: 0.9989 MB / 4.244 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/13.37, allocations: 7.891 kB / 4.244 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/13.37, allocations: 51.98 kB / 4.244 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/13.37, allocations: 5.75 kB / 4.244 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/13.37, allocations: 7.25 kB / 4.244 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/13.37, allocations: 3.656 kB / 4.244 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/13.37, allocations: 0 / 4.244 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/13.37, allocations: 0.6017 MB / 4.244 GB, free: 55.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/13.37, allocations: 130.4 kB / 4.244 GB, free: 55.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.298e-05/13.37, allocations: 3.094 kB / 4.244 GB, free: 55.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/13.37, allocations: 27.67 kB / 4.244 GB, free: 55.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/13.37, allocations: 25.44 kB / 4.244 GB, free: 55.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/13.37, allocations: 16.8 kB / 4.244 GB, free: 55.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003974/13.37, allocations: 253.2 kB / 4.245 GB, free: 55.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/13.37, allocations: 1.875 kB / 4.245 GB, free: 55.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002366/13.37, allocations: 465.5 kB / 4.245 GB, free: 55.49 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004417/13.38, allocations: 2.848 MB / 4.248 GB, free: 53.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000947/13.38, allocations: 383.8 kB / 4.248 GB, free: 53.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/13.38, allocations: 0 / 4.248 GB, free: 53.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/13.38, allocations: 102.5 kB / 4.248 GB, free: 53.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/13.38, allocations: 163.8 kB / 4.248 GB, free: 53.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/13.39, allocations: 0.9403 MB / 4.249 GB, free: 53.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/13.39, allocations: 0.8385 MB / 4.25 GB, free: 52.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/13.39, allocations: 146.5 kB / 4.25 GB, free: 52.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/13.39, allocations: 0 / 4.25 GB, free: 52.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.242/16.63, allocations: 16.12 MB / 4.266 GB, free: 48.35 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat