Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.728e-05, allocations: 3.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1486, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.45/10.6, allocations: 3.41 GB / 3.811 GB, free: 56.28 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/10.6, allocations: 85.25 kB / 3.811 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.062/12.66, allocations: 297.8 MB / 4.101 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/12.66, allocations: 2.531 kB / 4.101 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.106e-05/12.66, allocations: 14.27 kB / 4.101 GB, free: 96.18 MB / 0.5261 GB 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.005727/12.67, allocations: 1.56 MB / 4.103 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/12.67, allocations: 11.41 kB / 4.103 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/12.67, allocations: 69.59 kB / 4.103 GB, free: 95.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/12.67, allocations: 62.59 kB / 4.103 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000797/12.67, allocations: 377.1 kB / 4.103 GB, free: 95.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/12.67, allocations: 28.81 kB / 4.103 GB, free: 95.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.478e-05/12.67, allocations: 33.56 kB / 4.104 GB, free: 95.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/12.67, allocations: 486.3 kB / 4.104 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/12.67, allocations: 5.5 kB / 4.104 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/12.67, allocations: 15.06 kB / 4.104 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/12.67, allocations: 9.031 kB / 4.104 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/12.67, allocations: 452.6 kB / 4.104 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004197/12.68, allocations: 1.97 MB / 4.106 GB, free: 93.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/12.68, allocations: 434 kB / 4.107 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/12.68, allocations: 168.5 kB / 4.107 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/12.68, allocations: 0.951 MB / 4.108 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/12.68, allocations: 41.09 kB / 4.108 GB, free: 92.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 3.787e-06/12.68, allocations: 0 / 4.108 GB, free: 92.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.001258/12.68, allocations: 347 kB / 4.108 GB, free: 92.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/12.68, allocations: 106.7 kB / 4.108 GB, free: 92.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006431/12.68, allocations: 357 kB / 4.109 GB, free: 92.31 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00015/12.68, allocations: 33.23 kB / 4.109 GB, free: 92.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/12.68, allocations: 220.3 kB / 4.109 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/12.68, allocations: 102.6 kB / 4.109 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/12.68, allocations: 10.59 kB / 4.109 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001055/12.68, allocations: 350.2 kB / 4.109 GB, free: 91.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/12.68, allocations: 132.1 kB / 4.109 GB, free: 91.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/12.68, allocations: 239.1 kB / 4.11 GB, free: 91.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/12.68, allocations: 231.2 kB / 4.11 GB, free: 91.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/12.68, allocations: 0 / 4.11 GB, free: 91.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001316/12.69, allocations: 0.5127 MB / 4.11 GB, free: 91.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.896e-05/12.69, allocations: 62.72 kB / 4.11 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/12.69, allocations: 3.906 kB / 4.111 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/12.69, allocations: 11.81 kB / 4.111 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/12.69, allocations: 87.64 kB / 4.111 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/12.69, allocations: 12.58 kB / 4.111 GB, free: 91.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/12.69, allocations: 64.03 kB / 4.111 GB, free: 91.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/12.69, allocations: 26.12 kB / 4.111 GB, free: 91.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (45): * Single equations (assignments): 43 * 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.0001773/12.69, allocations: 125.5 kB / 4.111 GB, free: 91.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/12.69, allocations: 39.16 kB / 4.111 GB, free: 91.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/12.69, allocations: 467 kB / 4.111 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/12.69, allocations: 7.906 kB / 4.111 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/12.69, allocations: 0 / 4.111 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/12.69, allocations: 7.891 kB / 4.111 GB, free: 91.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/12.69, allocations: 2.419 MB / 4.114 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/12.69, allocations: 10.53 kB / 4.114 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005412/12.69, allocations: 62.62 kB / 4.114 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/12.69, allocations: 3.656 kB / 4.114 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/12.69, allocations: 7.562 kB / 4.114 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/12.69, allocations: 7.578 kB / 4.114 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/12.69, allocations: 6.656 kB / 4.114 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009917/12.69, allocations: 0.6931 MB / 4.114 GB, free: 88.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/12.69, allocations: 147.4 kB / 4.115 GB, free: 88.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/12.69, allocations: 9.562 kB / 4.115 GB, free: 88.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008339/12.7, allocations: 31.97 kB / 4.115 GB, free: 88.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/12.7, allocations: 27.17 kB / 4.115 GB, free: 88.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.309e-05/12.7, allocations: 22.31 kB / 4.115 GB, free: 88.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005771/12.7, allocations: 348 kB / 4.115 GB, free: 88.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.663e-06/12.7, allocations: 0 / 4.115 GB, free: 88.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002217/12.7, allocations: 430.7 kB / 4.115 GB, free: 88.57 MB / 0.5261 GB 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 (32): * Single equations (assignments): 32 * 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.004386/12.7, allocations: 2.818 MB / 4.118 GB, free: 86.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001149/12.7, allocations: 427.6 kB / 4.119 GB, free: 86.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/12.7, allocations: 3.938 kB / 4.119 GB, free: 86.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003875/12.7, allocations: 153 kB / 4.119 GB, free: 86.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/12.71, allocations: 248.5 kB / 4.119 GB, free: 86.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/12.71, allocations: 0.7832 MB / 4.12 GB, free: 86.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/12.71, allocations: 0.8464 MB / 4.121 GB, free: 85.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008402/12.71, allocations: 111 kB / 4.121 GB, free: 85.78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/12.71, allocations: 148.6 kB / 4.121 GB, free: 85.78 MB / 0.5261 GB Notification: Performance of SimCode: time 1.312e-06/12.71, allocations: 3.719 kB / 4.121 GB, free: 85.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08298/12.79, allocations: 32.41 MB / 4.152 GB, free: 84.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/12.8, allocations: 214.4 kB / 4.153 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.28/17.07, allocations: 0 / 4.153 GB, free: 84.41 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat