Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.521e-05/4.554e-05, allocations: 4 kB / 273.2 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1249, allocations: 48.69 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.12/8.245, allocations: 2.502 GB / 2.816 GB, free: 61.49 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/8.246, allocations: 89.38 kB / 2.816 GB, free: 61.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.42/10.67, allocations: 426 MB / 3.232 GB, free: 46.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.535e-06/10.67, allocations: 0 / 3.232 GB, free: 46.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.991e-05/10.67, allocations: 22.92 kB / 3.232 GB, free: 46.87 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.009043/10.68, allocations: 1.701 MB / 3.234 GB, free: 46.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/10.68, allocations: 12.69 kB / 3.234 GB, free: 46.18 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002598/10.68, allocations: 99.39 kB / 3.234 GB, free: 46.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003785/10.68, allocations: 317.9 kB / 3.235 GB, free: 46.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/10.68, allocations: 0.576 MB / 3.235 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/10.68, allocations: 47.25 kB / 3.235 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/10.68, allocations: 58.47 kB / 3.235 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/10.69, allocations: 0.9518 MB / 3.236 GB, free: 45.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/10.69, allocations: 7.5 kB / 3.236 GB, free: 45.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/10.69, allocations: 30.67 kB / 3.236 GB, free: 45.67 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/10.69, allocations: 22.16 kB / 3.236 GB, free: 45.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/10.69, allocations: 0.794 MB / 3.237 GB, free: 45.67 MB / 442.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.00699/10.7, allocations: 4.335 MB / 3.241 GB, free: 42.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/10.7, allocations: 0.6877 MB / 3.242 GB, free: 42.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/10.7, allocations: 213.7 kB / 3.242 GB, free: 42.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2888/10.99, allocations: 79.42 MB / 3.32 GB, free: 30.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/10.99, allocations: 40.78 kB / 3.32 GB, free: 30.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 2.685e-06/10.99, allocations: 4 kB / 3.32 GB, free: 30.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.007236/10.99, allocations: 1.82 MB / 3.321 GB, free: 30.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/10.99, allocations: 112.9 kB / 3.322 GB, free: 29.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/11, allocations: 415.1 kB / 3.322 GB, free: 29.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.166e-05/11, allocations: 37.98 kB / 3.322 GB, free: 29.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/11, allocations: 376.5 kB / 3.322 GB, free: 29.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/11, allocations: 181.9 kB / 3.322 GB, free: 29.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/11, allocations: 11.47 kB / 3.323 GB, free: 29.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/11, allocations: 343 kB / 3.323 GB, free: 29.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/11, allocations: 186.1 kB / 3.323 GB, free: 29.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/11, allocations: 386.6 kB / 3.323 GB, free: 28.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/11, allocations: 244.3 kB / 3.324 GB, free: 28.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/11, allocations: 0 / 3.324 GB, free: 28.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002517/11, allocations: 0.7864 MB / 3.324 GB, free: 28.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009858/11, allocations: 2.362 MB / 3.327 GB, free: 26.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/11, allocations: 3.594 kB / 3.327 GB, free: 26.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/11, allocations: 395.3 kB / 3.327 GB, free: 26.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009804/11.01, allocations: 139.8 kB / 3.327 GB, free: 26.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/11.01, allocations: 0.8758 MB / 3.328 GB, free: 25.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/11.01, allocations: 86.36 kB / 3.328 GB, free: 25.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/11.01, allocations: 40.97 kB / 3.328 GB, free: 25.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/11.01, allocations: 2.719 kB / 3.328 GB, free: 25.76 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00224/11.01, allocations: 0.699 MB / 3.329 GB, free: 25.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/11.01, allocations: 11.2 kB / 3.329 GB, free: 25.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/11.01, allocations: 279.7 kB / 3.329 GB, free: 25.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/11.01, allocations: 151.7 kB / 3.329 GB, free: 25.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/11.02, allocations: 0.8133 MB / 3.33 GB, free: 25.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/11.02, allocations: 85.53 kB / 3.33 GB, free: 25.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-05/11.02, allocations: 32.02 kB / 3.33 GB, free: 25.17 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003195/11.02, allocations: 152.8 kB / 3.33 GB, free: 25.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/11.02, allocations: 61.62 kB / 3.33 GB, free: 25.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/11.02, allocations: 2.646 MB / 3.333 GB, free: 24.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.775e-05/11.02, allocations: 35 kB / 3.333 GB, free: 24.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/11.02, allocations: 3.375 kB / 3.333 GB, free: 24.68 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/11.02, allocations: 7.625 kB / 3.333 GB, free: 24.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005781/11.03, allocations: 3.655 MB / 3.337 GB, free: 24.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/11.03, allocations: 0 / 3.337 GB, free: 24.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/11.03, allocations: 147.1 kB / 3.337 GB, free: 24.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/11.03, allocations: 93.09 kB / 3.337 GB, free: 24.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/11.03, allocations: 13.62 kB / 3.337 GB, free: 24.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/11.03, allocations: 1.14 MB / 3.338 GB, free: 23.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/11.03, allocations: 3 kB / 3.338 GB, free: 23.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/11.03, allocations: 2.088 MB / 3.34 GB, free: 22.87 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007668/11.03, allocations: 340.5 kB / 3.34 GB, free: 22.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/11.03, allocations: 13.22 kB / 3.34 GB, free: 22.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009385/11.04, allocations: 67.78 kB / 3.34 GB, free: 22.67 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/11.04, allocations: 51.58 kB / 3.34 GB, free: 22.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/11.04, allocations: 20.8 kB / 3.34 GB, free: 22.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008439/11.04, allocations: 444.7 kB / 3.341 GB, free: 22.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.91e-07/11.04, allocations: 0 / 3.341 GB, free: 22.56 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007246/11.04, allocations: 1.391 MB / 3.342 GB, free: 22.37 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01517/11.06, allocations: 4.267 MB / 3.346 GB, free: 21.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003826/11.06, allocations: 1.187 MB / 3.348 GB, free: 21.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/11.06, allocations: 6.438 kB / 3.348 GB, free: 21.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/11.06, allocations: 0.6706 MB / 3.348 GB, free: 21.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/11.07, allocations: 292.6 kB / 3.349 GB, free: 21.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7261/11.79, allocations: 122.5 MB / 3.468 GB, free: 71.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/11.79, allocations: 1.148 MB / 3.469 GB, free: 71.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007407/11.8, allocations: 456.3 kB / 3.47 GB, free: 71.04 MB / 474.7 MB Notification: Performance of SimCode: time 1.293e-06/11.8, allocations: 1.969 kB / 3.47 GB, free: 71.04 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.27/16.07, allocations: 44.53 MB / 3.513 GB, free: 62 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat