Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.532e-05, allocations: 0 / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 48.69 MB / 316.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.848/7.96, allocations: 2.495 GB / 2.804 GB, free: 97.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/7.96, allocations: 84.22 kB / 2.804 GB, free: 97.81 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.194/9.155, allocations: 225.5 MB / 3.024 GB, free: 42.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.003e-06/9.155, allocations: 0 / 3.024 GB, free: 42.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.973e-05/9.155, allocations: 11.91 kB / 3.024 GB, free: 42.32 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.005624/9.16, allocations: 1.253 MB / 3.026 GB, free: 41.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/9.16, allocations: 8.031 kB / 3.026 GB, free: 41.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00267/9.163, allocations: 238.5 kB / 3.026 GB, free: 40.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/9.164, allocations: 423.3 kB / 3.026 GB, free: 40.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/9.164, allocations: 16 kB / 3.026 GB, free: 40.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.266e-05/9.164, allocations: 20 kB / 3.026 GB, free: 40.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008076/9.165, allocations: 331.3 kB / 3.027 GB, free: 40.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007786/9.166, allocations: 406 kB / 3.027 GB, free: 39.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/9.166, allocations: 7.953 kB / 3.027 GB, free: 39.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/9.166, allocations: 3.938 kB / 3.027 GB, free: 39.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/9.166, allocations: 8 kB / 3.027 GB, free: 39.83 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.007612/9.174, allocations: 3.874 MB / 3.031 GB, free: 35.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/9.174, allocations: 226.7 kB / 3.031 GB, free: 35.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/9.175, allocations: 130 kB / 3.031 GB, free: 35.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5258/9.7, allocations: 50.18 MB / 3.08 GB, free: 47.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/9.7, allocations: 34.94 kB / 3.08 GB, free: 47.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.036e-06/9.7, allocations: 0 / 3.08 GB, free: 47.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.003142/9.704, allocations: 0.5506 MB / 3.081 GB, free: 47.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/9.704, allocations: 105.8 kB / 3.081 GB, free: 47.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/9.704, allocations: 273.3 kB / 3.081 GB, free: 47.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/9.704, allocations: 31.92 kB / 3.081 GB, free: 47.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/9.705, allocations: 292.7 kB / 3.081 GB, free: 47.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/9.705, allocations: 78.11 kB / 3.082 GB, free: 47.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/9.705, allocations: 0 / 3.082 GB, free: 47.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/9.705, allocations: 331.1 kB / 3.082 GB, free: 47.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/9.705, allocations: 103.8 kB / 3.082 GB, free: 47.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/9.705, allocations: 228.1 kB / 3.082 GB, free: 46.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/9.707, allocations: 212.6 kB / 3.082 GB, free: 46.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/9.707, allocations: 1.281 kB / 3.082 GB, free: 46.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002083/9.709, allocations: 446.9 kB / 3.083 GB, free: 46.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004088/9.71, allocations: 1.482 MB / 3.084 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/9.71, allocations: 3.219 kB / 3.084 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.51e-05/9.71, allocations: 6.5 kB / 3.084 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/9.711, allocations: 119 kB / 3.084 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/9.711, allocations: 6.875 kB / 3.084 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/9.712, allocations: 68.06 kB / 3.084 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/9.712, allocations: 21.23 kB / 3.084 GB, free: 45.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/9.712, allocations: 8.75 kB / 3.084 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00176/9.714, allocations: 367 kB / 3.085 GB, free: 45.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/9.714, allocations: 4.781 kB / 3.085 GB, free: 45.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/9.714, allocations: 6.031 kB / 3.085 GB, free: 45.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000871/9.714, allocations: 119.8 kB / 3.085 GB, free: 45.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/9.715, allocations: 10.34 kB / 3.085 GB, free: 45.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/9.715, allocations: 61.58 kB / 3.085 GB, free: 45.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/9.715, allocations: 23.58 kB / 3.085 GB, free: 45.32 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.0001961/9.715, allocations: 114 kB / 3.085 GB, free: 45.21 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001714/9.717, allocations: 344.4 kB / 3.085 GB, free: 45.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/9.717, allocations: 33.34 kB / 3.085 GB, free: 45.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/9.721, allocations: 1.71 MB / 3.087 GB, free: 44.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.462e-05/9.721, allocations: 30.88 kB / 3.087 GB, free: 44.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/9.721, allocations: 1.969 kB / 3.087 GB, free: 44.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/9.721, allocations: 1.375 kB / 3.087 GB, free: 44.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/9.723, allocations: 0.8515 MB / 3.088 GB, free: 44.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.024e-05/9.723, allocations: 0 / 3.088 GB, free: 44.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/9.723, allocations: 88.69 kB / 3.088 GB, free: 44.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/9.723, allocations: 4.656 kB / 3.088 GB, free: 44.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/9.723, allocations: 2.625 kB / 3.088 GB, free: 44.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/9.723, allocations: 1.719 kB / 3.088 GB, free: 44.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/9.723, allocations: 3.953 kB / 3.088 GB, free: 44.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/9.726, allocations: 0.9709 MB / 3.089 GB, free: 44.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/9.726, allocations: 252.6 kB / 3.089 GB, free: 44.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/9.726, allocations: 3.094 kB / 3.089 GB, free: 44.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006775/9.727, allocations: 38.16 kB / 3.089 GB, free: 44.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/9.727, allocations: 31.33 kB / 3.089 GB, free: 44.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/9.727, allocations: 15.17 kB / 3.089 GB, free: 44.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004449/9.728, allocations: 289.2 kB / 3.09 GB, free: 44.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/9.728, allocations: 0 / 3.09 GB, free: 44.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006437/9.734, allocations: 1.147 MB / 3.091 GB, free: 44.3 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.0132/9.748, allocations: 2.954 MB / 3.094 GB, free: 43.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001467/9.749, allocations: 0.6546 MB / 3.094 GB, free: 43.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/9.749, allocations: 0 / 3.094 GB, free: 43.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006118/9.75, allocations: 435.4 kB / 3.095 GB, free: 43.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/9.752, allocations: 178.7 kB / 3.095 GB, free: 43.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2131/9.965, allocations: 54.93 MB / 3.149 GB, free: 40.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/9.965, allocations: 0.9863 MB / 3.15 GB, free: 40.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000522/9.966, allocations: 259.8 kB / 3.15 GB, free: 40.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/9.966, allocations: 0 / 3.15 GB, free: 40.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.746/13.71, allocations: 30.93 MB / 3.18 GB, free: 26.57 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat