Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.08e-05/5.088e-05, allocations: 8 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4221, allocations: 54.85 MB / 359.9 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.897/8.319, allocations: 2.606 GB / 2.958 GB, free: 112.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/8.319, allocations: 86.7 kB / 2.958 GB, free: 112.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.305/9.624, allocations: 232.5 MB / 3.185 GB, free: 71.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.883e-06/9.624, allocations: 0 / 3.185 GB, free: 71.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.951e-05/9.624, allocations: 12.5 kB / 3.185 GB, free: 71.29 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.005759/9.63, allocations: 1.268 MB / 3.186 GB, free: 70.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/9.63, allocations: 7.594 kB / 3.186 GB, free: 70.52 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/9.63, allocations: 74.94 kB / 3.186 GB, free: 70.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/9.633, allocations: 247.3 kB / 3.186 GB, free: 70.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/9.634, allocations: 426.6 kB / 3.187 GB, free: 70.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/9.634, allocations: 28.34 kB / 3.187 GB, free: 70.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/9.634, allocations: 31.41 kB / 3.187 GB, free: 70.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/9.636, allocations: 0.6016 MB / 3.187 GB, free: 69.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/9.636, allocations: 3.797 kB / 3.187 GB, free: 69.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.725e-05/9.636, allocations: 15.97 kB / 3.188 GB, free: 69.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/9.636, allocations: 7.812 kB / 3.188 GB, free: 69.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/9.638, allocations: 0.5101 MB / 3.188 GB, free: 69.65 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.003868/9.642, allocations: 2.557 MB / 3.191 GB, free: 67.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/9.644, allocations: 409 kB / 3.191 GB, free: 67.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/9.644, allocations: 145.8 kB / 3.191 GB, free: 67.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2024/9.846, allocations: 51.63 MB / 3.241 GB, free: 37.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/9.846, allocations: 45.84 kB / 3.242 GB, free: 37.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 4.719e-06/9.847, allocations: 3.938 kB / 3.242 GB, free: 37.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.004345/9.851, allocations: 0.6383 MB / 3.242 GB, free: 37.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/9.851, allocations: 106.7 kB / 3.242 GB, free: 37.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/9.852, allocations: 300.9 kB / 3.243 GB, free: 37.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/9.852, allocations: 37.02 kB / 3.243 GB, free: 37.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/9.852, allocations: 286.6 kB / 3.243 GB, free: 36.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/9.852, allocations: 86.78 kB / 3.243 GB, free: 36.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/9.852, allocations: 7.938 kB / 3.243 GB, free: 36.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/9.852, allocations: 321.1 kB / 3.243 GB, free: 36.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/9.853, allocations: 108 kB / 3.243 GB, free: 36.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/9.853, allocations: 230.1 kB / 3.244 GB, free: 36.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/9.854, allocations: 142.9 kB / 3.244 GB, free: 36.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/9.854, allocations: 0 / 3.244 GB, free: 36.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001323/9.855, allocations: 365.6 kB / 3.244 GB, free: 35.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003976/9.855, allocations: 1.491 MB / 3.245 GB, free: 34.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/9.855, allocations: 3.906 kB / 3.245 GB, free: 34.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/9.856, allocations: 6.781 kB / 3.245 GB, free: 34.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/9.857, allocations: 124.7 kB / 3.246 GB, free: 34.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/9.857, allocations: 3.094 kB / 3.246 GB, free: 34.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/9.858, allocations: 75.34 kB / 3.246 GB, free: 34.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/9.858, allocations: 22.09 kB / 3.246 GB, free: 34.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/9.858, allocations: 8.125 kB / 3.246 GB, free: 34.29 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001199/9.859, allocations: 321.7 kB / 3.246 GB, free: 34.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/9.859, allocations: 3.969 kB / 3.246 GB, free: 34.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/9.859, allocations: 7.188 kB / 3.246 GB, free: 34.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/9.863, allocations: 116.3 kB / 3.246 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/9.863, allocations: 7.672 kB / 3.246 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009065/9.864, allocations: 72.89 kB / 3.246 GB, free: 34.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/9.864, allocations: 22.69 kB / 3.246 GB, free: 34.12 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.0002476/9.864, allocations: 132.5 kB / 3.246 GB, free: 34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/9.864, allocations: 39 kB / 3.246 GB, free: 33.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/9.868, allocations: 1.91 MB / 3.248 GB, free: 33.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.315e-05/9.868, allocations: 29.66 kB / 3.248 GB, free: 33.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/9.868, allocations: 3.953 kB / 3.248 GB, free: 33.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/9.868, allocations: 7.734 kB / 3.248 GB, free: 33.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/9.87, allocations: 1.019 MB / 3.249 GB, free: 32.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/9.87, allocations: 0 / 3.249 GB, free: 32.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/9.87, allocations: 81.67 kB / 3.249 GB, free: 32.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/9.87, allocations: 0 / 3.249 GB, free: 32.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/9.87, allocations: 15.73 kB / 3.249 GB, free: 32.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/9.87, allocations: 3.938 kB / 3.249 GB, free: 32.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/9.87, allocations: 0 / 3.249 GB, free: 32.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/9.872, allocations: 1.025 MB / 3.25 GB, free: 31.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/9.872, allocations: 252.5 kB / 3.251 GB, free: 31.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/9.873, allocations: 7.125 kB / 3.251 GB, free: 31.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/9.873, allocations: 48.88 kB / 3.251 GB, free: 31.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/9.873, allocations: 32.73 kB / 3.251 GB, free: 31.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/9.873, allocations: 15.34 kB / 3.251 GB, free: 31.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004783/9.874, allocations: 297.7 kB / 3.251 GB, free: 31.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/9.874, allocations: 3.5 kB / 3.251 GB, free: 31.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00597/9.88, allocations: 1.183 MB / 3.252 GB, free: 31.25 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.0119/9.892, allocations: 2.949 MB / 3.255 GB, free: 29.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001628/9.893, allocations: 0.7105 MB / 3.256 GB, free: 29.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/9.893, allocations: 256 / 3.256 GB, free: 29.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006752/9.894, allocations: 490.7 kB / 3.256 GB, free: 29.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/9.896, allocations: 192.5 kB / 3.256 GB, free: 29.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6399/10.54, allocations: 76.86 MB / 3.331 GB, free: 69.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/10.54, allocations: 0.9992 MB / 3.332 GB, free: 68.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004942/10.54, allocations: 271.8 kB / 3.333 GB, free: 68.67 MB / 490.7 MB Notification: Performance of SimCode: time 1.934e-06/10.54, allocations: 0 / 3.333 GB, free: 68.67 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.579/14.12, allocations: 30.81 MB / 3.363 GB, free: 65.92 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat