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 2.048/2.048, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.971e-05/3.984e-05, allocations: 7.922 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.965/8.081, allocations: 2.496 GB / 2.81 GB, free: 66.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/8.081, allocations: 82.08 kB / 2.81 GB, free: 66.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15/9.231, allocations: 228.2 MB / 3.033 GB, free: 7.691 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/9.231, allocations: 0 / 3.033 GB, free: 7.691 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.762e-05/9.231, allocations: 8 kB / 3.033 GB, free: 7.684 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.005995/9.237, allocations: 1.259 MB / 3.034 GB, free: 6.379 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/9.237, allocations: 15.97 kB / 3.034 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/9.237, allocations: 66.53 kB / 3.034 GB, free: 6.289 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/9.24, allocations: 239.2 kB / 3.034 GB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/9.241, allocations: 424.2 kB / 3.035 GB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/9.241, allocations: 28.78 kB / 3.035 GB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/9.241, allocations: 32 kB / 3.035 GB, free: 5.539 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/9.243, allocations: 0.5974 MB / 3.036 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/9.243, allocations: 3.984 kB / 3.036 GB, free: 4.902 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.769e-05/9.243, allocations: 19.95 kB / 3.036 GB, free: 4.883 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/9.243, allocations: 8 kB / 3.036 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/9.245, allocations: 0.5124 MB / 3.036 GB, free: 4.363 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.003962/9.249, allocations: 2.555 MB / 3.039 GB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/9.251, allocations: 406.3 kB / 3.039 GB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/9.251, allocations: 136.8 kB / 3.039 GB, free: 1.016 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5321/9.784, allocations: 51.58 MB / 3.089 GB, free: 21.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/9.784, allocations: 42.09 kB / 3.089 GB, free: 21.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.805e-06/9.784, allocations: 0 / 3.089 GB, free: 21.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002767/9.786, allocations: 0.6343 MB / 3.09 GB, free: 21.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/9.786, allocations: 110.4 kB / 3.09 GB, free: 21.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/9.787, allocations: 304.7 kB / 3.09 GB, free: 21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/9.787, allocations: 28.45 kB / 3.091 GB, free: 20.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/9.787, allocations: 284.8 kB / 3.091 GB, free: 20.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.459e-05/9.787, allocations: 85.34 kB / 3.091 GB, free: 20.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/9.787, allocations: 7.094 kB / 3.091 GB, free: 20.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.803e-05/9.787, allocations: 328 kB / 3.091 GB, free: 20.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/9.788, allocations: 108.3 kB / 3.091 GB, free: 20.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/9.788, allocations: 238.5 kB / 3.092 GB, free: 20.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/9.788, allocations: 130.1 kB / 3.092 GB, free: 20.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/9.788, allocations: 3.406 kB / 3.092 GB, free: 20.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008874/9.789, allocations: 373.3 kB / 3.092 GB, free: 20.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001133/9.79, allocations: 1.488 MB / 3.093 GB, free: 34.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/9.79, allocations: 12.66 kB / 3.093 GB, free: 34.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/9.79, allocations: 3.969 kB / 3.093 GB, free: 34.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000866/9.791, allocations: 110.6 kB / 3.094 GB, free: 34.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/9.791, allocations: 11.27 kB / 3.094 GB, free: 34.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/9.792, allocations: 79.28 kB / 3.094 GB, free: 34.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/9.792, allocations: 28.88 kB / 3.094 GB, free: 34.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/9.792, allocations: 3.375 kB / 3.094 GB, free: 34.64 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008387/9.793, allocations: 321.7 kB / 3.094 GB, free: 34.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/9.793, allocations: 3.969 kB / 3.094 GB, free: 34.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/9.793, allocations: 7.906 kB / 3.094 GB, free: 34.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/9.794, allocations: 126.8 kB / 3.094 GB, free: 34.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/9.794, allocations: 5.5 kB / 3.094 GB, free: 34.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/9.795, allocations: 61.97 kB / 3.094 GB, free: 34.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/9.795, allocations: 21.75 kB / 3.094 GB, free: 34.62 MB / 442.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.0001824/9.795, allocations: 122.2 kB / 3.094 GB, free: 34.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/9.795, allocations: 39.09 kB / 3.094 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/9.798, allocations: 1.919 MB / 3.096 GB, free: 34.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.862e-05/9.798, allocations: 29.08 kB / 3.096 GB, free: 34.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/9.798, allocations: 3.953 kB / 3.096 GB, free: 34.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/9.798, allocations: 3.328 kB / 3.096 GB, free: 34.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/9.799, allocations: 1.015 MB / 3.097 GB, free: 34.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/9.799, allocations: 3.688 kB / 3.097 GB, free: 34.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006494/9.8, allocations: 79.17 kB / 3.097 GB, free: 34.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/9.8, allocations: 0 / 3.097 GB, free: 34.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/9.8, allocations: 9.812 kB / 3.097 GB, free: 34.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/9.8, allocations: 11.36 kB / 3.097 GB, free: 34.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/9.8, allocations: 0 / 3.097 GB, free: 34.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/9.802, allocations: 1.024 MB / 3.098 GB, free: 33.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/9.802, allocations: 257.2 kB / 3.099 GB, free: 33.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.694e-05/9.802, allocations: 7.438 kB / 3.099 GB, free: 33.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/9.803, allocations: 45.59 kB / 3.099 GB, free: 33.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/9.803, allocations: 27.31 kB / 3.099 GB, free: 33.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/9.803, allocations: 14.69 kB / 3.099 GB, free: 33.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004632/9.803, allocations: 308.5 kB / 3.099 GB, free: 33.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/9.803, allocations: 0 / 3.099 GB, free: 33.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005696/9.809, allocations: 1.172 MB / 3.1 GB, free: 33.54 MB / 442.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.01163/9.821, allocations: 2.946 MB / 3.103 GB, free: 32.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/9.822, allocations: 0.7067 MB / 3.104 GB, free: 32.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/9.822, allocations: 3.75 kB / 3.104 GB, free: 32.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006555/9.823, allocations: 494.2 kB / 3.104 GB, free: 32.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/9.825, allocations: 195.9 kB / 3.104 GB, free: 32.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2488/10.07, allocations: 75.59 MB / 3.178 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/10.07, allocations: 1.001 MB / 3.179 GB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/10.07, allocations: 276.5 kB / 3.179 GB, free: 14.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.693e-06/10.07, allocations: 0 / 3.179 GB, free: 14.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.931/14.01, allocations: 30.64 MB / 3.209 GB, free: 60.28 MB / 442.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