Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.486/2.486, allocations: 235.2 MB / 242.3 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.031e-05, allocations: 4 kB / 299.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4193, allocations: 54.87 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.59/12.01, allocations: 3.629 GB / 3.975 GB, free: 5.945 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/12.01, allocations: 82.7 kB / 3.975 GB, free: 5.902 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.966/13.97, allocations: 301.1 MB / 4.27 GB, free: 74.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.854e-06/13.97, allocations: 0 / 4.27 GB, free: 74.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.584e-05/13.97, allocations: 11.83 kB / 4.27 GB, free: 74.61 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.005582/13.98, allocations: 1.596 MB / 4.271 GB, free: 72.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/13.98, allocations: 8.031 kB / 4.271 GB, free: 72.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/13.98, allocations: 59.42 kB / 4.271 GB, free: 72.89 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009197/13.98, allocations: 400.2 kB / 4.272 GB, free: 72.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/13.98, allocations: 8 kB / 4.272 GB, free: 72.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/13.98, allocations: 27.69 kB / 4.272 GB, free: 72.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001099/13.98, allocations: 426.3 kB / 4.272 GB, free: 72.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/13.98, allocations: 431.8 kB / 4.272 GB, free: 71.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/13.98, allocations: 7.594 kB / 4.272 GB, free: 71.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/13.98, allocations: 11.33 kB / 4.272 GB, free: 71.56 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/13.98, allocations: 8 kB / 4.272 GB, free: 71.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004778/13.99, allocations: 2.816 MB / 4.275 GB, free: 68.44 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/13.99, allocations: 325.1 kB / 4.275 GB, free: 68.08 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/13.99, allocations: 93.16 kB / 4.276 GB, free: 67.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/13.99, allocations: 96.75 kB / 4.276 GB, free: 67.87 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/13.99, allocations: 38.56 kB / 4.276 GB, free: 67.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=20): time 3.687e-06/13.99, allocations: 2.875 kB / 4.276 GB, free: 67.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008125/13.99, allocations: 235.5 kB / 4.276 GB, free: 67.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/13.99, allocations: 102.8 kB / 4.276 GB, free: 67.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/13.99, allocations: 294.3 kB / 4.276 GB, free: 67.17 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/13.99, allocations: 25.7 kB / 4.276 GB, free: 67.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/13.99, allocations: 271.3 kB / 4.277 GB, free: 66.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/13.99, allocations: 69.5 kB / 4.277 GB, free: 66.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/13.99, allocations: 4 kB / 4.277 GB, free: 66.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.353e-05/13.99, allocations: 346.8 kB / 4.277 GB, free: 66.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/13.99, allocations: 92.84 kB / 4.277 GB, free: 66.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/13.99, allocations: 277.4 kB / 4.277 GB, free: 66.01 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009693/13.99, allocations: 227.7 kB / 4.278 GB, free: 65.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/13.99, allocations: 0 / 4.278 GB, free: 65.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001636/14, allocations: 0.4888 MB / 4.278 GB, free: 65.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.038e-05/14, allocations: 59.41 kB / 4.278 GB, free: 65.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/14, allocations: 12.69 kB / 4.278 GB, free: 65.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/14, allocations: 8 kB / 4.278 GB, free: 65.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/14, allocations: 111.8 kB / 4.278 GB, free: 65.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/14, allocations: 15.89 kB / 4.278 GB, free: 65.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006518/14, allocations: 55.42 kB / 4.278 GB, free: 65.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.19e-05/14, allocations: 27.98 kB / 4.278 GB, free: 64.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.0001409/14, allocations: 124.8 kB / 4.278 GB, free: 64.86 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006732/14, allocations: 229.1 kB / 4.279 GB, free: 64.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/14, allocations: 31.62 kB / 4.279 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000905/14, allocations: 274 kB / 4.279 GB, free: 64.33 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/14, allocations: 8.094 kB / 4.279 GB, free: 64.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/14, allocations: 0 / 4.279 GB, free: 64.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/14, allocations: 7.969 kB / 4.279 GB, free: 64.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/14, allocations: 0.9942 MB / 4.28 GB, free: 63.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/14, allocations: 4 kB / 4.28 GB, free: 63.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/14, allocations: 43.91 kB / 4.28 GB, free: 63.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/14, allocations: 8 kB / 4.28 GB, free: 63.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/14, allocations: 8 kB / 4.28 GB, free: 63.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/14, allocations: 8 kB / 4.28 GB, free: 63.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/14, allocations: 7.938 kB / 4.28 GB, free: 63.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007164/14, allocations: 0.7003 MB / 4.281 GB, free: 62.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/14, allocations: 124.5 kB / 4.281 GB, free: 62.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/14, allocations: 12.06 kB / 4.281 GB, free: 62.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005933/14, allocations: 15.94 kB / 4.281 GB, free: 62.15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/14, allocations: 27.92 kB / 4.281 GB, free: 62.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/14, allocations: 8 kB / 4.281 GB, free: 62.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003186/14, allocations: 224.6 kB / 4.281 GB, free: 61.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.413e-06/14, allocations: 0 / 4.281 GB, free: 61.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002199/14.01, allocations: 439.3 kB / 4.281 GB, free: 61.46 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.004574/14.01, allocations: 3.481 MB / 4.285 GB, free: 57.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008593/14.01, allocations: 338.5 kB / 4.285 GB, free: 57.56 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/14.01, allocations: 1.5 kB / 4.285 GB, free: 57.56 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/14.01, allocations: 80.36 kB / 4.285 GB, free: 57.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/14.01, allocations: 168.4 kB / 4.285 GB, free: 57.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/14.02, allocations: 0.7886 MB / 4.286 GB, free: 56.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/14.02, allocations: 0.8308 MB / 4.287 GB, free: 55.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007603/14.02, allocations: 94.86 kB / 4.287 GB, free: 55.51 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/14.02, allocations: 127.4 kB / 4.287 GB, free: 55.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/14.02, allocations: 4 kB / 4.287 GB, free: 55.38 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0808/14.1, allocations: 19.72 MB / 4.306 GB, free: 35.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002734/14.1, allocations: 194.8 kB / 4.307 GB, free: 35.46 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.902/18, allocations: 0 / 4.307 GB, free: 35.46 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat