Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.931e-05/3.959e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4079, allocations: 54.86 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.938/8.346, allocations: 2.606 GB / 2.958 GB, free: 112.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/8.346, allocations: 83.89 kB / 2.958 GB, free: 112.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.205/9.552, allocations: 232.5 MB / 3.185 GB, free: 72.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.834e-06/9.552, allocations: 0 / 3.185 GB, free: 72.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.133e-05/9.552, allocations: 14.59 kB / 3.185 GB, free: 72.41 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006086/9.558, allocations: 1.273 MB / 3.186 GB, free: 71.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/9.558, allocations: 10.28 kB / 3.186 GB, free: 71.64 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/9.558, allocations: 68.86 kB / 3.186 GB, free: 71.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002931/9.561, allocations: 246.9 kB / 3.186 GB, free: 71.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/9.562, allocations: 428.9 kB / 3.187 GB, free: 71.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/9.563, allocations: 28.31 kB / 3.187 GB, free: 71.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/9.563, allocations: 31.16 kB / 3.187 GB, free: 71.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/9.565, allocations: 0.604 MB / 3.187 GB, free: 70.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/9.565, allocations: 0 / 3.187 GB, free: 70.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/9.565, allocations: 19.81 kB / 3.188 GB, free: 70.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/9.565, allocations: 7.656 kB / 3.188 GB, free: 70.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/9.567, allocations: 0.5146 MB / 3.188 GB, free: 70.77 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004241/9.571, allocations: 2.553 MB / 3.191 GB, free: 68.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/9.573, allocations: 413.7 kB / 3.191 GB, free: 68.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/9.574, allocations: 151.7 kB / 3.191 GB, free: 68.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1803/9.754, allocations: 51.65 MB / 3.241 GB, free: 38.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/9.754, allocations: 34.53 kB / 3.242 GB, free: 38.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.525e-06/9.754, allocations: 0 / 3.242 GB, free: 38.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002854/9.757, allocations: 0.6326 MB / 3.242 GB, free: 38.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/9.757, allocations: 114.5 kB / 3.242 GB, free: 38.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/9.757, allocations: 301.3 kB / 3.243 GB, free: 38.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/9.757, allocations: 25.7 kB / 3.243 GB, free: 38.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/9.758, allocations: 237.8 kB / 3.243 GB, free: 37.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.758e-05/9.758, allocations: 93.09 kB / 3.243 GB, free: 37.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/9.758, allocations: 4 kB / 3.243 GB, free: 37.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/9.758, allocations: 345.6 kB / 3.243 GB, free: 37.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/9.758, allocations: 104.4 kB / 3.243 GB, free: 37.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/9.759, allocations: 236.4 kB / 3.244 GB, free: 37.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/9.759, allocations: 142.3 kB / 3.244 GB, free: 37.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/9.759, allocations: 3.906 kB / 3.244 GB, free: 37.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009657/9.76, allocations: 398.9 kB / 3.244 GB, free: 37.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003126/9.76, allocations: 1.489 MB / 3.246 GB, free: 35.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/9.76, allocations: 3.656 kB / 3.246 GB, free: 35.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/9.76, allocations: 7.344 kB / 3.246 GB, free: 35.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000855/9.761, allocations: 116.4 kB / 3.246 GB, free: 35.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/9.761, allocations: 15.67 kB / 3.246 GB, free: 35.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007429/9.762, allocations: 66.11 kB / 3.246 GB, free: 35.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/9.762, allocations: 22.95 kB / 3.246 GB, free: 35.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/9.762, allocations: 3.844 kB / 3.246 GB, free: 35.42 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008433/9.763, allocations: 337.6 kB / 3.246 GB, free: 35.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/9.763, allocations: 7.609 kB / 3.246 GB, free: 35.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/9.763, allocations: 7.469 kB / 3.246 GB, free: 35.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007696/9.764, allocations: 114 kB / 3.246 GB, free: 35.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/9.764, allocations: 11.3 kB / 3.246 GB, free: 35.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/9.764, allocations: 67.77 kB / 3.246 GB, free: 35.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.734e-05/9.765, allocations: 22.75 kB / 3.246 GB, free: 35.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0001698/9.765, allocations: 132.1 kB / 3.246 GB, free: 35.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/9.765, allocations: 41.78 kB / 3.246 GB, free: 35.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/9.768, allocations: 1.903 MB / 3.248 GB, free: 34.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.799e-05/9.768, allocations: 34.55 kB / 3.248 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/9.768, allocations: 3.953 kB / 3.248 GB, free: 34.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/9.768, allocations: 7.797 kB / 3.248 GB, free: 34.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/9.769, allocations: 1.017 MB / 3.249 GB, free: 33.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/9.769, allocations: 0 / 3.249 GB, free: 33.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/9.77, allocations: 94.67 kB / 3.249 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/9.77, allocations: 0 / 3.249 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/9.77, allocations: 9.094 kB / 3.249 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/9.77, allocations: 0 / 3.249 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/9.77, allocations: 0 / 3.249 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/9.771, allocations: 1.029 MB / 3.25 GB, free: 33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/9.772, allocations: 247.3 kB / 3.251 GB, free: 32.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/9.772, allocations: 15.78 kB / 3.251 GB, free: 32.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/9.772, allocations: 41.78 kB / 3.251 GB, free: 32.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/9.773, allocations: 33.45 kB / 3.251 GB, free: 32.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/9.773, allocations: 11.75 kB / 3.251 GB, free: 32.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004747/9.773, allocations: 301.4 kB / 3.251 GB, free: 32.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/9.773, allocations: 0 / 3.251 GB, free: 32.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005655/9.779, allocations: 1.19 MB / 3.252 GB, free: 32.37 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01176/9.791, allocations: 2.942 MB / 3.255 GB, free: 31.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001586/9.792, allocations: 0.7367 MB / 3.256 GB, free: 30.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/9.792, allocations: 0 / 3.256 GB, free: 30.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006825/9.793, allocations: 492.3 kB / 3.256 GB, free: 30.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/9.795, allocations: 196.6 kB / 3.256 GB, free: 30.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5922/10.39, allocations: 76.83 MB / 3.332 GB, free: 69.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/10.39, allocations: 0.9907 MB / 3.332 GB, free: 68.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001456/10.39, allocations: 0.5329 MB / 3.333 GB, free: 68.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/10.39, allocations: 276.9 kB / 3.333 GB, free: 68.56 MB / 490.7 MB Notification: Performance of SimCode: time 3.196e-06/10.39, allocations: 0 / 3.333 GB, free: 68.56 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/10.49, allocations: 43.04 MB / 3.375 GB, free: 66.62 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/10.49, allocations: 206 kB / 3.375 GB, free: 66.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.777/15.27, allocations: 0 / 3.375 GB, free: 66.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat