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.961/1.961, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.38e-05, allocations: 4 kB / 267.6 MB, free: 5.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1082, allocations: 48.69 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.11/11.21, allocations: 3.623 GB / 3.932 GB, free: 115.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/11.22, allocations: 83.25 kB / 3.932 GB, free: 115.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.441/12.66, allocations: 299.4 MB / 4.224 GB, free: 3.457 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/12.66, allocations: 0 / 4.224 GB, free: 3.457 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.375e-05/12.66, allocations: 8 kB / 4.224 GB, free: 3.449 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.005901/12.66, allocations: 1.599 MB / 4.226 GB, free: 1.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/12.66, allocations: 8.031 kB / 4.226 GB, free: 1.789 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/12.66, allocations: 59.44 kB / 4.226 GB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/12.66, allocations: 405.9 kB / 4.226 GB, free: 1.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/12.66, allocations: 12 kB / 4.226 GB, free: 1.293 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.958e-05/12.66, allocations: 24 kB / 4.226 GB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001074/12.67, allocations: 425.3 kB / 4.227 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009701/12.67, allocations: 428 kB / 4.227 GB, free: 416 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/12.67, allocations: 0 / 4.227 GB, free: 416 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/12.67, allocations: 4 kB / 4.227 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/12.67, allocations: 15.98 kB / 4.227 GB, free: 396 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3344/13, allocations: 2.708 MB / 4.23 GB, free: 54.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/13, allocations: 328.5 kB / 4.23 GB, free: 54.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/13, allocations: 96.22 kB / 4.23 GB, free: 54.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/13, allocations: 93.41 kB / 4.23 GB, free: 54.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/13, allocations: 40.62 kB / 4.23 GB, free: 54.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.396e-06/13, allocations: 0 / 4.23 GB, free: 54.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.000869/13, allocations: 229 kB / 4.23 GB, free: 54.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/13, allocations: 107 kB / 4.231 GB, free: 54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/13, allocations: 289.3 kB / 4.231 GB, free: 53.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/13, allocations: 26.77 kB / 4.231 GB, free: 53.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/13, allocations: 332.2 kB / 4.231 GB, free: 53.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/13, allocations: 70.5 kB / 4.231 GB, free: 53.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/13, allocations: 1.125 kB / 4.231 GB, free: 53.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.58e-05/13, allocations: 331.8 kB / 4.232 GB, free: 53.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/13.01, allocations: 95.16 kB / 4.232 GB, free: 53.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/13.01, allocations: 275.5 kB / 4.232 GB, free: 53.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/13.01, allocations: 231.3 kB / 4.232 GB, free: 53.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/13.01, allocations: 2.375 kB / 4.232 GB, free: 53.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001771/13.01, allocations: 480.5 kB / 4.233 GB, free: 53.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.024e-05/13.01, allocations: 67.17 kB / 4.233 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/13.01, allocations: 6.188 kB / 4.233 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.788e-05/13.01, allocations: 10.62 kB / 4.233 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/13.01, allocations: 102.6 kB / 4.233 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/13.01, allocations: 13.56 kB / 4.233 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/13.01, allocations: 56.38 kB / 4.233 GB, free: 52.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/13.01, allocations: 24.89 kB / 4.233 GB, free: 52.97 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.0001574/13.01, allocations: 123.9 kB / 4.233 GB, free: 52.86 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000755/13.01, allocations: 233.2 kB / 4.233 GB, free: 52.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/13.01, allocations: 40.06 kB / 4.233 GB, free: 52.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009507/13.01, allocations: 276.9 kB / 4.233 GB, free: 52.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/13.01, allocations: 3.875 kB / 4.233 GB, free: 52.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/13.01, allocations: 0 / 4.233 GB, free: 52.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/13.01, allocations: 6.547 kB / 4.233 GB, free: 52.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/13.01, allocations: 1.001 MB / 4.234 GB, free: 52.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/13.01, allocations: 6.812 kB / 4.234 GB, free: 52.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/13.01, allocations: 42.72 kB / 4.234 GB, free: 52.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/13.01, allocations: 9.375 kB / 4.235 GB, free: 52.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/13.01, allocations: 4.531 kB / 4.235 GB, free: 52.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.753e-05/13.01, allocations: 8.906 kB / 4.235 GB, free: 52.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/13.01, allocations: 3.562 kB / 4.235 GB, free: 52.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/13.02, allocations: 0.6986 MB / 4.235 GB, free: 51.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/13.02, allocations: 122.2 kB / 4.235 GB, free: 51.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/13.02, allocations: 5.531 kB / 4.235 GB, free: 51.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000523/13.02, allocations: 20.97 kB / 4.235 GB, free: 51.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/13.02, allocations: 23.86 kB / 4.235 GB, free: 51.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/13.02, allocations: 10.69 kB / 4.235 GB, free: 51.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003525/13.02, allocations: 220.3 kB / 4.236 GB, free: 51.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/13.02, allocations: 0 / 4.236 GB, free: 51.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002339/13.02, allocations: 441 kB / 4.236 GB, free: 51.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.005189/13.02, allocations: 3.467 MB / 4.239 GB, free: 49.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009704/13.03, allocations: 348.1 kB / 4.24 GB, free: 49.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/13.03, allocations: 5.5 kB / 4.24 GB, free: 49.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/13.03, allocations: 80.23 kB / 4.24 GB, free: 49.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/13.03, allocations: 150.6 kB / 4.24 GB, free: 49.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/13.03, allocations: 0.8468 MB / 4.241 GB, free: 48.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/13.03, allocations: 0.8291 MB / 4.242 GB, free: 48.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/13.03, allocations: 135.5 kB / 4.242 GB, free: 48.08 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/13.03, allocations: 0 / 4.242 GB, free: 48.08 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.998/16.03, allocations: 15.73 MB / 4.257 GB, free: 47.57 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