Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.921/1.921, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.7e-05, allocations: 0 / 267.6 MB, free: 4.965 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 48.7 MB / 316.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.585/7.693, allocations: 2.495 GB / 2.804 GB, free: 98.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/7.693, allocations: 84.86 kB / 2.804 GB, free: 98.44 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.16/8.853, allocations: 225.5 MB / 3.024 GB, free: 44.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/8.853, allocations: 0 / 3.024 GB, free: 44.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.948e-05/8.853, allocations: 12 kB / 3.024 GB, free: 44.24 MB / 426.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.00572/8.859, allocations: 1.251 MB / 3.026 GB, free: 43.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/8.859, allocations: 8.031 kB / 3.026 GB, free: 43.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/8.861, allocations: 242.2 kB / 3.026 GB, free: 42.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/8.863, allocations: 420.2 kB / 3.026 GB, free: 42.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/8.863, allocations: 16 kB / 3.026 GB, free: 42.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/8.863, allocations: 20 kB / 3.026 GB, free: 42.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008659/8.864, allocations: 340.2 kB / 3.027 GB, free: 42.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/8.865, allocations: 398.6 kB / 3.027 GB, free: 41.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/8.865, allocations: 7.953 kB / 3.027 GB, free: 41.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/8.865, allocations: 7.922 kB / 3.027 GB, free: 41.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/8.865, allocations: 8 kB / 3.027 GB, free: 41.75 MB / 426.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.008105/8.873, allocations: 3.872 MB / 3.031 GB, free: 38.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005955/8.874, allocations: 226.5 kB / 3.031 GB, free: 37.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/8.874, allocations: 128.2 kB / 3.031 GB, free: 37.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4752/9.349, allocations: 50.18 MB / 3.08 GB, free: 49.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/9.349, allocations: 39.16 kB / 3.08 GB, free: 49.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.356e-06/9.349, allocations: 0 / 3.08 GB, free: 49.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.002949/9.352, allocations: 0.5466 MB / 3.081 GB, free: 49.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/9.352, allocations: 109.5 kB / 3.081 GB, free: 49.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/9.353, allocations: 281.2 kB / 3.081 GB, free: 49.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/9.353, allocations: 25.7 kB / 3.081 GB, free: 49.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/9.353, allocations: 244 kB / 3.081 GB, free: 49.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.926e-05/9.353, allocations: 79.66 kB / 3.081 GB, free: 49.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/9.353, allocations: 0.7656 kB / 3.081 GB, free: 49.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.094e-05/9.353, allocations: 347.5 kB / 3.082 GB, free: 49.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/9.353, allocations: 103.2 kB / 3.082 GB, free: 49.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/9.354, allocations: 228.4 kB / 3.082 GB, free: 49.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/9.355, allocations: 211.7 kB / 3.082 GB, free: 49.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/9.355, allocations: 4.406 kB / 3.082 GB, free: 49.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001925/9.357, allocations: 459.6 kB / 3.083 GB, free: 48.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003177/9.357, allocations: 1.485 MB / 3.084 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/9.357, allocations: 3.594 kB / 3.084 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/9.358, allocations: 6.656 kB / 3.084 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008757/9.358, allocations: 117.8 kB / 3.084 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/9.358, allocations: 8.281 kB / 3.084 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/9.359, allocations: 69.44 kB / 3.084 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/9.359, allocations: 20.34 kB / 3.084 GB, free: 47.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/9.359, allocations: 8.578 kB / 3.084 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001624/9.361, allocations: 363.7 kB / 3.085 GB, free: 47.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/9.361, allocations: 5.781 kB / 3.085 GB, free: 47.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/9.361, allocations: 9.062 kB / 3.085 GB, free: 47.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008038/9.362, allocations: 116.4 kB / 3.085 GB, free: 47.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/9.362, allocations: 6.25 kB / 3.085 GB, free: 47.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/9.363, allocations: 64.67 kB / 3.085 GB, free: 47.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/9.363, allocations: 20.05 kB / 3.085 GB, free: 47.39 MB / 426.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.0001717/9.363, allocations: 119.8 kB / 3.085 GB, free: 47.29 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001614/9.364, allocations: 338.2 kB / 3.085 GB, free: 47.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/9.365, allocations: 37.94 kB / 3.085 GB, free: 47.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/9.368, allocations: 1.706 MB / 3.087 GB, free: 47.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/9.368, allocations: 33.44 kB / 3.087 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/9.368, allocations: 1.156 kB / 3.087 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/9.368, allocations: 0 / 3.087 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/9.37, allocations: 0.8536 MB / 3.088 GB, free: 46.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/9.37, allocations: 0 / 3.088 GB, free: 46.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/9.37, allocations: 86.34 kB / 3.088 GB, free: 46.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/9.37, allocations: 2.625 kB / 3.088 GB, free: 46.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/9.37, allocations: 5.156 kB / 3.088 GB, free: 46.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/9.37, allocations: 3.531 kB / 3.088 GB, free: 46.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/9.37, allocations: 3.469 kB / 3.088 GB, free: 46.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/9.373, allocations: 0.973 MB / 3.089 GB, free: 46.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/9.373, allocations: 249 kB / 3.089 GB, free: 46.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/9.373, allocations: 4 kB / 3.089 GB, free: 46.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/9.374, allocations: 39.84 kB / 3.089 GB, free: 46.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/9.374, allocations: 29.17 kB / 3.089 GB, free: 46.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/9.374, allocations: 22.89 kB / 3.089 GB, free: 46.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005418/9.375, allocations: 287.7 kB / 3.09 GB, free: 46.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/9.375, allocations: 0 / 3.09 GB, free: 46.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005925/9.381, allocations: 1.152 MB / 3.091 GB, free: 46.37 MB / 426.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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01252/9.393, allocations: 2.94 MB / 3.094 GB, free: 45.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/9.395, allocations: 0.6608 MB / 3.094 GB, free: 45.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/9.395, allocations: 0 / 3.094 GB, free: 45.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005931/9.395, allocations: 437 kB / 3.095 GB, free: 45.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/9.397, allocations: 171.9 kB / 3.095 GB, free: 45.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1947/9.592, allocations: 54.91 MB / 3.149 GB, free: 43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/9.592, allocations: 0.9801 MB / 3.149 GB, free: 42.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001492/9.594, allocations: 0.5575 MB / 3.15 GB, free: 42.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/9.594, allocations: 256.9 kB / 3.15 GB, free: 42.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.733e-06/9.594, allocations: 0 / 3.15 GB, free: 42.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/9.715, allocations: 37.35 MB / 3.187 GB, free: 25.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/9.715, allocations: 187 kB / 3.187 GB, free: 25.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.156/13.87, allocations: 3.938 kB / 3.187 GB, free: 25.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat