Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.814/2.814, allocations: 270 MB / 283.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.573e-05, allocations: 0 / 348.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4219, allocations: 61.87 MB / 410.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.78/11.2, allocations: 3.41 GB / 3.811 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/11.2, allocations: 83.27 kB / 3.811 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.521/12.72, allocations: 297.8 MB / 4.101 GB, free: 47.67 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/12.72, allocations: 0 / 4.101 GB, free: 47.67 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.524e-05/12.72, allocations: 11.94 kB / 4.101 GB, free: 47.66 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.00537/12.73, allocations: 1.57 MB / 4.103 GB, free: 46.03 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/12.73, allocations: 8.031 kB / 4.103 GB, free: 46.02 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/12.73, allocations: 74.53 kB / 4.103 GB, free: 45.94 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/12.73, allocations: 55.52 kB / 4.103 GB, free: 45.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/12.73, allocations: 378 kB / 4.103 GB, free: 45.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/12.73, allocations: 28.78 kB / 4.104 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/12.73, allocations: 32 kB / 4.104 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/12.73, allocations: 484 kB / 4.104 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/12.73, allocations: 3.938 kB / 4.104 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-05/12.73, allocations: 27.98 kB / 4.104 GB, free: 44.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/12.73, allocations: 8 kB / 4.104 GB, free: 44.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/12.73, allocations: 443.7 kB / 4.104 GB, free: 44.44 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/12.74, allocations: 1.971 MB / 4.106 GB, free: 42.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009008/12.74, allocations: 428.8 kB / 4.107 GB, free: 41.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/12.74, allocations: 166.6 kB / 4.107 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009918/12.74, allocations: 0.9493 MB / 4.108 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/12.74, allocations: 50.45 kB / 4.108 GB, free: 40.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 3.056e-06/12.74, allocations: 0 / 4.108 GB, free: 40.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.001085/12.74, allocations: 341.7 kB / 4.108 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/12.74, allocations: 106.8 kB / 4.108 GB, free: 40.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/12.74, allocations: 347.5 kB / 4.109 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/12.74, allocations: 33.7 kB / 4.109 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/12.74, allocations: 224.1 kB / 4.109 GB, free: 39.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.905e-05/12.74, allocations: 106.5 kB / 4.109 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/12.74, allocations: 8 kB / 4.109 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.421e-05/12.74, allocations: 354.8 kB / 4.109 GB, free: 38.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/12.74, allocations: 132.7 kB / 4.11 GB, free: 38.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/12.74, allocations: 230 kB / 4.11 GB, free: 38.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/12.74, allocations: 231.2 kB / 4.11 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/12.74, allocations: 0 / 4.11 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001224/12.74, allocations: 0.5161 MB / 4.11 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/12.74, allocations: 63.47 kB / 4.111 GB, free: 37.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/12.74, allocations: 7.953 kB / 4.111 GB, free: 37.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/12.74, allocations: 4 kB / 4.111 GB, free: 37.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000722/12.74, allocations: 95.75 kB / 4.111 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/12.74, allocations: 8 kB / 4.111 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006662/12.74, allocations: 63.36 kB / 4.111 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/12.74, allocations: 23.98 kB / 4.111 GB, free: 37.48 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.0001751/12.75, allocations: 128.9 kB / 4.111 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/12.75, allocations: 43.53 kB / 4.111 GB, free: 37.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/12.75, allocations: 462.8 kB / 4.111 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/12.75, allocations: 7.953 kB / 4.111 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/12.75, allocations: 0 / 4.111 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/12.75, allocations: 7.984 kB / 4.111 GB, free: 36.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003908/12.75, allocations: 2.418 MB / 4.114 GB, free: 34.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/12.75, allocations: 0 / 4.114 GB, free: 34.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/12.75, allocations: 63.91 kB / 4.114 GB, free: 34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/12.75, allocations: 4 kB / 4.114 GB, free: 34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/12.75, allocations: 8 kB / 4.114 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-06/12.75, allocations: 11.97 kB / 4.114 GB, free: 33.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/12.75, allocations: 8.188 kB / 4.114 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008693/12.75, allocations: 0.7039 MB / 4.114 GB, free: 33.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/12.75, allocations: 144.5 kB / 4.115 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/12.75, allocations: 12 kB / 4.115 GB, free: 33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/12.75, allocations: 23.97 kB / 4.115 GB, free: 32.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/12.75, allocations: 31.86 kB / 4.115 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/12.75, allocations: 23.98 kB / 4.115 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005411/12.75, allocations: 353.2 kB / 4.115 GB, free: 32.58 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/12.75, allocations: 0 / 4.115 GB, free: 32.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001989/12.76, allocations: 431.5 kB / 4.115 GB, free: 32.16 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.003942/12.76, allocations: 2.817 MB / 4.118 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001072/12.76, allocations: 427 kB / 4.119 GB, free: 28.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/12.76, allocations: 4 kB / 4.119 GB, free: 28.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/12.76, allocations: 147.8 kB / 4.119 GB, free: 28.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/12.76, allocations: 244.3 kB / 4.119 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/12.77, allocations: 0.7845 MB / 4.12 GB, free: 27.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/12.77, allocations: 0.8473 MB / 4.121 GB, free: 26.76 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007523/12.77, allocations: 104.8 kB / 4.121 GB, free: 26.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/12.77, allocations: 151.4 kB / 4.121 GB, free: 26.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/12.77, allocations: 0 / 4.121 GB, free: 26.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5076/13.28, allocations: 32.4 MB / 4.152 GB, free: 97.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003258/13.28, allocations: 214.5 kB / 4.153 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.192/17.47, allocations: 0 / 4.153 GB, free: 97.47 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat