Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.032e-05, allocations: 7.984 kB / 299.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4044, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.96/11.37, allocations: 3.629 GB / 3.975 GB, free: 8.359 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/11.37, allocations: 90.45 kB / 3.975 GB, free: 8.312 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867/13.23, allocations: 301.1 MB / 4.269 GB, free: 76.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.366e-06/13.23, allocations: 6.219 kB / 4.269 GB, free: 76.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.53e-05/13.23, allocations: 8 kB / 4.269 GB, free: 76.59 MB / 474.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.006421/13.24, allocations: 1.589 MB / 4.271 GB, free: 74.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/13.24, allocations: 12.03 kB / 4.271 GB, free: 74.94 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005511/13.24, allocations: 51.44 kB / 4.271 GB, free: 74.89 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/13.24, allocations: 406.5 kB / 4.271 GB, free: 74.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/13.24, allocations: 12 kB / 4.271 GB, free: 74.45 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/13.24, allocations: 30.31 kB / 4.271 GB, free: 74.42 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001461/13.24, allocations: 421.4 kB / 4.272 GB, free: 74.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/13.24, allocations: 435.7 kB / 4.272 GB, free: 73.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/13.24, allocations: 3.984 kB / 4.272 GB, free: 73.56 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/13.24, allocations: 0 / 4.272 GB, free: 73.56 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/13.24, allocations: 11.95 kB / 4.272 GB, free: 73.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006132/13.25, allocations: 2.826 MB / 4.275 GB, free: 70.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/13.25, allocations: 316.9 kB / 4.275 GB, free: 70.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/13.25, allocations: 98.62 kB / 4.275 GB, free: 69.97 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003616/13.25, allocations: 92.66 kB / 4.276 GB, free: 69.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/13.25, allocations: 43.88 kB / 4.276 GB, free: 69.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=20): time 4.699e-06/13.25, allocations: 0 / 4.276 GB, free: 69.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.001193/13.25, allocations: 227.9 kB / 4.276 GB, free: 69.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/13.25, allocations: 116 kB / 4.276 GB, free: 69.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006236/13.26, allocations: 286.2 kB / 4.276 GB, free: 69.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/13.26, allocations: 29.7 kB / 4.276 GB, free: 69.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/13.26, allocations: 269.1 kB / 4.276 GB, free: 68.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.355e-05/13.26, allocations: 74.94 kB / 4.277 GB, free: 68.78 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/13.26, allocations: 0 / 4.277 GB, free: 68.78 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/13.26, allocations: 350.7 kB / 4.277 GB, free: 68.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/13.26, allocations: 88.86 kB / 4.277 GB, free: 68.35 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/13.26, allocations: 278.8 kB / 4.277 GB, free: 67.99 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/13.26, allocations: 226.7 kB / 4.277 GB, free: 67.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/13.26, allocations: 4 kB / 4.277 GB, free: 67.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002311/13.26, allocations: 498.3 kB / 4.278 GB, free: 67.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.581e-05/13.26, allocations: 67.39 kB / 4.278 GB, free: 67.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/13.26, allocations: 4 kB / 4.278 GB, free: 67.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.529e-05/13.26, allocations: 12 kB / 4.278 GB, free: 67.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009089/13.26, allocations: 102.5 kB / 4.278 GB, free: 67.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/13.26, allocations: 20.06 kB / 4.278 GB, free: 67.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009195/13.26, allocations: 63.34 kB / 4.278 GB, free: 67.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.8e-05/13.26, allocations: 27.12 kB / 4.278 GB, free: 66.99 MB / 474.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.0001851/13.26, allocations: 126.2 kB / 4.278 GB, free: 66.86 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009983/13.26, allocations: 229.2 kB / 4.279 GB, free: 66.63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/13.26, allocations: 31.62 kB / 4.279 GB, free: 66.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/13.27, allocations: 273.3 kB / 4.279 GB, free: 66.33 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/13.27, allocations: 0 / 4.279 GB, free: 66.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/13.27, allocations: 10.67 kB / 4.279 GB, free: 66.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/13.27, allocations: 0 / 4.279 GB, free: 66.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/13.27, allocations: 0.9996 MB / 4.28 GB, free: 65.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/13.27, allocations: 7.938 kB / 4.28 GB, free: 65.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/13.27, allocations: 36.17 kB / 4.28 GB, free: 65.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/13.27, allocations: 7.938 kB / 4.28 GB, free: 65.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/13.27, allocations: 7.438 kB / 4.28 GB, free: 65.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/13.27, allocations: 7.984 kB / 4.28 GB, free: 65.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/13.27, allocations: 7.984 kB / 4.28 GB, free: 65.17 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/13.27, allocations: 0.7085 MB / 4.281 GB, free: 64.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/13.27, allocations: 123.6 kB / 4.281 GB, free: 64.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/13.27, allocations: 7.984 kB / 4.281 GB, free: 64.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008745/13.27, allocations: 16.06 kB / 4.281 GB, free: 64.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/13.27, allocations: 29.52 kB / 4.281 GB, free: 64.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/13.27, allocations: 12 kB / 4.281 GB, free: 64.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000449/13.27, allocations: 218.2 kB / 4.281 GB, free: 63.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.21e-07/13.27, allocations: 0 / 4.281 GB, free: 63.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003038/13.27, allocations: 435.3 kB / 4.281 GB, free: 63.5 MB / 474.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.005949/13.28, allocations: 3.476 MB / 4.285 GB, free: 60.06 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/13.28, allocations: 342.4 kB / 4.285 GB, free: 59.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/13.28, allocations: 3.562 kB / 4.285 GB, free: 59.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/13.28, allocations: 77.36 kB / 4.285 GB, free: 59.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/13.28, allocations: 164.2 kB / 4.285 GB, free: 59.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/13.29, allocations: 0.7963 MB / 4.286 GB, free: 58.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/13.29, allocations: 0.8347 MB / 4.287 GB, free: 57.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009753/13.29, allocations: 87.23 kB / 4.287 GB, free: 57.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/13.29, allocations: 123.4 kB / 4.287 GB, free: 57.52 MB / 474.7 MB Notification: Performance of SimCode: time 1.302e-06/13.29, allocations: 3.562 kB / 4.287 GB, free: 57.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08966/13.38, allocations: 19.73 MB / 4.306 GB, free: 37.8 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/13.38, allocations: 186.4 kB / 4.307 GB, free: 37.61 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/16.89, allocations: 4.031 kB / 4.307 GB, free: 37.61 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat