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.391/2.391, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.634e-05/4.642e-05, allocations: 0 / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4439, allocations: 54.85 MB / 359.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.6/11.04, allocations: 3.63 GB / 3.981 GB, free: 129.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/11.04, allocations: 88.56 kB / 3.981 GB, free: 129.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.605/12.65, allocations: 304.2 MB / 4.278 GB, free: 25.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.894e-06/12.65, allocations: 0 / 4.278 GB, free: 25.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.425e-05/12.65, allocations: 11.94 kB / 4.278 GB, free: 25.57 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005641/12.66, allocations: 1.598 MB / 4.28 GB, free: 23.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/12.66, allocations: 8.031 kB / 4.28 GB, free: 23.91 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/12.66, allocations: 70.53 kB / 4.28 GB, free: 23.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004061/12.66, allocations: 71.38 kB / 4.28 GB, free: 23.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009463/12.66, allocations: 406.8 kB / 4.281 GB, free: 23.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/12.66, allocations: 24.78 kB / 4.281 GB, free: 23.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.968e-05/12.66, allocations: 43.92 kB / 4.281 GB, free: 23.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/12.66, allocations: 480 kB / 4.281 GB, free: 22.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/12.66, allocations: 3.938 kB / 4.281 GB, free: 22.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/12.66, allocations: 16 kB / 4.281 GB, free: 22.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/12.66, allocations: 12 kB / 4.281 GB, free: 22.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/12.66, allocations: 444.8 kB / 4.282 GB, free: 22.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004015/12.66, allocations: 2.043 MB / 4.284 GB, free: 20.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/12.66, allocations: 352.8 kB / 4.284 GB, free: 19.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/12.66, allocations: 138.5 kB / 4.284 GB, free: 19.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009731/12.67, allocations: 0.9532 MB / 4.285 GB, free: 18.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/12.67, allocations: 38.56 kB / 4.285 GB, free: 18.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.006e-06/12.67, allocations: 0 / 4.285 GB, free: 18.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008326/12.67, allocations: 261.5 kB / 4.285 GB, free: 18.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/12.67, allocations: 106.8 kB / 4.285 GB, free: 17.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/12.67, allocations: 270.7 kB / 4.286 GB, free: 17.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/12.67, allocations: 33.7 kB / 4.286 GB, free: 17.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/12.67, allocations: 251.5 kB / 4.286 GB, free: 17.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/12.67, allocations: 106.6 kB / 4.286 GB, free: 17.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/12.67, allocations: 4 kB / 4.286 GB, free: 17.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/12.67, allocations: 346.8 kB / 4.286 GB, free: 16.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/12.67, allocations: 104.9 kB / 4.286 GB, free: 16.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/12.67, allocations: 287.2 kB / 4.287 GB, free: 16.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/12.67, allocations: 211.2 kB / 4.287 GB, free: 16.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/12.67, allocations: 4 kB / 4.287 GB, free: 16.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001121/12.67, allocations: 0.5004 MB / 4.287 GB, free: 15.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/12.67, allocations: 64.95 kB / 4.287 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/12.67, allocations: 8 kB / 4.287 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/12.67, allocations: 8 kB / 4.287 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/12.67, allocations: 95.89 kB / 4.288 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/12.67, allocations: 16.42 kB / 4.288 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006071/12.67, allocations: 55.58 kB / 4.288 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/12.67, allocations: 28 kB / 4.288 GB, free: 15.45 MB / 490.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.0001434/12.67, allocations: 136.8 kB / 4.288 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/12.67, allocations: 39.66 kB / 4.288 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/12.67, allocations: 393.1 kB / 4.288 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/12.67, allocations: 4 kB / 4.288 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/12.67, allocations: 0 / 4.288 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/12.67, allocations: 3.984 kB / 4.288 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/12.67, allocations: 1.001 MB / 4.289 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/12.67, allocations: 0 / 4.289 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/12.67, allocations: 55.84 kB / 4.289 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/12.67, allocations: 8.125 kB / 4.289 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/12.67, allocations: 12 kB / 4.289 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/12.67, allocations: 0 / 4.289 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/12.67, allocations: 11.89 kB / 4.289 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/12.68, allocations: 0.5985 MB / 4.29 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/12.68, allocations: 136.4 kB / 4.29 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-05/12.68, allocations: 4 kB / 4.29 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/12.68, allocations: 23.92 kB / 4.29 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/12.68, allocations: 20.08 kB / 4.29 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/12.68, allocations: 15.98 kB / 4.29 GB, free: 12.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000377/12.68, allocations: 254.1 kB / 4.29 GB, free: 12.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/12.68, allocations: 0 / 4.29 GB, free: 12.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002254/12.68, allocations: 471.3 kB / 4.291 GB, free: 12.06 MB / 490.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.004129/12.68, allocations: 2.857 MB / 4.294 GB, free: 9.176 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008977/12.68, allocations: 371.6 kB / 4.294 GB, free: 8.789 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/12.68, allocations: 0 / 4.294 GB, free: 8.789 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002445/12.68, allocations: 96.3 kB / 4.294 GB, free: 8.695 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/12.69, allocations: 157.3 kB / 4.294 GB, free: 8.539 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/12.69, allocations: 0.9172 MB / 4.295 GB, free: 7.555 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/12.69, allocations: 0.8431 MB / 4.296 GB, free: 6.688 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006919/12.69, allocations: 91.58 kB / 4.296 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/12.69, allocations: 143.4 kB / 4.296 GB, free: 6.453 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/12.69, allocations: 0 / 4.296 GB, free: 6.453 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4341/13.12, allocations: 30.1 MB / 4.325 GB, free: 71.83 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/13.13, allocations: 207.1 kB / 4.326 GB, free: 71.61 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.895/17.02, allocations: 7.406 kB / 4.326 GB, free: 71.6 MB / 490.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