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.487/2.487, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.09e-05/4.101e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4905, allocations: 54.86 MB / 359.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.87/11.36, allocations: 3.63 GB / 3.981 GB, free: 107.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/11.36, allocations: 80.98 kB / 3.981 GB, free: 107 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502/12.86, allocations: 304.2 MB / 4.278 GB, free: 4.449 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.896e-06/12.86, allocations: 0 / 4.278 GB, free: 4.449 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.401e-05/12.86, allocations: 11.94 kB / 4.278 GB, free: 4.438 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.006437/12.87, allocations: 1.594 MB / 4.28 GB, free: 2.781 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/12.87, allocations: 8.031 kB / 4.28 GB, free: 2.773 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/12.87, allocations: 74.53 kB / 4.28 GB, free: 2.691 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005065/12.87, allocations: 59.42 kB / 4.28 GB, free: 2.633 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/12.87, allocations: 398.8 kB / 4.281 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/12.87, allocations: 28.78 kB / 4.281 GB, free: 2.176 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/12.87, allocations: 36 kB / 4.281 GB, free: 2.141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/12.87, allocations: 497.3 kB / 4.281 GB, free: 1.629 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/12.87, allocations: 3.953 kB / 4.281 GB, free: 1.625 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/12.87, allocations: 16 kB / 4.281 GB, free: 1.609 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/12.87, allocations: 8 kB / 4.281 GB, free: 1.602 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/12.87, allocations: 453 kB / 4.282 GB, free: 1.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.396/13.27, allocations: 2.033 MB / 4.284 GB, free: 74.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008062/13.27, allocations: 363.5 kB / 4.284 GB, free: 74.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/13.27, allocations: 126.2 kB / 4.284 GB, free: 74.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/13.27, allocations: 0.9521 MB / 4.285 GB, free: 73.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/13.27, allocations: 44.44 kB / 4.285 GB, free: 73.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.346e-06/13.27, allocations: 0 / 4.285 GB, free: 73.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009573/13.27, allocations: 258.4 kB / 4.285 GB, free: 73.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/13.27, allocations: 113.5 kB / 4.285 GB, free: 73.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/13.27, allocations: 268 kB / 4.286 GB, free: 73.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/13.27, allocations: 36.17 kB / 4.286 GB, free: 73.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/13.27, allocations: 252.9 kB / 4.286 GB, free: 72.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/13.27, allocations: 97.09 kB / 4.286 GB, free: 72.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/13.27, allocations: 7.156 kB / 4.286 GB, free: 72.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/13.27, allocations: 346.6 kB / 4.286 GB, free: 72.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/13.28, allocations: 102.4 kB / 4.286 GB, free: 72.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/13.28, allocations: 288.5 kB / 4.287 GB, free: 72.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/13.28, allocations: 214.1 kB / 4.287 GB, free: 72.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/13.28, allocations: 4.891 kB / 4.287 GB, free: 72.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001362/13.28, allocations: 0.518 MB / 4.287 GB, free: 72.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/13.28, allocations: 62.7 kB / 4.287 GB, free: 72.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/13.28, allocations: 6.734 kB / 4.287 GB, free: 72.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.664e-05/13.28, allocations: 9 kB / 4.287 GB, free: 72.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/13.28, allocations: 105 kB / 4.288 GB, free: 72.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/13.28, allocations: 12.34 kB / 4.288 GB, free: 72.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006236/13.28, allocations: 57.14 kB / 4.288 GB, free: 72.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/13.28, allocations: 25.58 kB / 4.288 GB, free: 72.16 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.0001642/13.28, allocations: 141.2 kB / 4.288 GB, free: 72.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/13.28, allocations: 35.16 kB / 4.288 GB, free: 72.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/13.28, allocations: 396.3 kB / 4.288 GB, free: 71.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/13.28, allocations: 7.469 kB / 4.288 GB, free: 71.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/13.28, allocations: 2.078 kB / 4.288 GB, free: 71.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/13.28, allocations: 3 kB / 4.288 GB, free: 71.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/13.28, allocations: 1.01 MB / 4.289 GB, free: 71.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/13.28, allocations: 5.625 kB / 4.289 GB, free: 71.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/13.28, allocations: 49.7 kB / 4.289 GB, free: 71.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/13.28, allocations: 2.781 kB / 4.289 GB, free: 71.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/13.28, allocations: 14.06 kB / 4.289 GB, free: 71.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.39e-05/13.28, allocations: 7.125 kB / 4.289 GB, free: 71.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/13.28, allocations: 6.281 kB / 4.289 GB, free: 71.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/13.28, allocations: 0.606 MB / 4.29 GB, free: 70.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/13.28, allocations: 128.2 kB / 4.29 GB, free: 70.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.239e-05/13.28, allocations: 5.203 kB / 4.29 GB, free: 70.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/13.29, allocations: 27.06 kB / 4.29 GB, free: 70.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/13.29, allocations: 22.53 kB / 4.29 GB, free: 70.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/13.29, allocations: 16.06 kB / 4.29 GB, free: 70.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004562/13.29, allocations: 250.9 kB / 4.29 GB, free: 70.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/13.29, allocations: 7.375 kB / 4.29 GB, free: 70.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002362/13.29, allocations: 468.9 kB / 4.291 GB, free: 70.69 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.004727/13.29, allocations: 2.815 MB / 4.293 GB, free: 69.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/13.29, allocations: 383.5 kB / 4.294 GB, free: 68.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/13.29, allocations: 2.875 kB / 4.294 GB, free: 68.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002835/13.29, allocations: 101 kB / 4.294 GB, free: 68.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/13.3, allocations: 161.4 kB / 4.294 GB, free: 68.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/13.3, allocations: 0.9158 MB / 4.295 GB, free: 68.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/13.3, allocations: 0.8438 MB / 4.296 GB, free: 68.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007665/13.3, allocations: 95.91 kB / 4.296 GB, free: 68.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/13.3, allocations: 141.8 kB / 4.296 GB, free: 68.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/13.3, allocations: 0 / 4.296 GB, free: 68.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08144/13.38, allocations: 30.03 MB / 4.325 GB, free: 67.51 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/13.38, allocations: 219.2 kB / 4.326 GB, free: 67.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.199/17.58, allocations: 0 / 4.326 GB, free: 67.28 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