Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.392/2.392, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.803e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.426, allocations: 54.85 MB / 359.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.053/8.479, allocations: 2.613 GB / 2.964 GB, free: 115.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/8.48, allocations: 81.28 kB / 2.964 GB, free: 115.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.212/10.69, allocations: 436.9 MB / 3.391 GB, free: 51.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.864e-06/10.69, allocations: 0 / 3.391 GB, free: 51.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.486e-05/10.69, allocations: 19.38 kB / 3.391 GB, free: 51.92 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008692/10.7, allocations: 1.759 MB / 3.392 GB, free: 50.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/10.7, allocations: 10.97 kB / 3.393 GB, free: 50.99 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003542/10.7, allocations: 92.81 kB / 3.393 GB, free: 50.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003997/10.71, allocations: 333.1 kB / 3.393 GB, free: 50.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/10.71, allocations: 0.5826 MB / 3.393 GB, free: 50.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.749e-05/10.71, allocations: 46.06 kB / 3.394 GB, free: 50.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/10.71, allocations: 60.8 kB / 3.394 GB, free: 50.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003201/10.71, allocations: 0.9525 MB / 3.395 GB, free: 50.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/10.71, allocations: 6.344 kB / 3.395 GB, free: 50.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/10.71, allocations: 27.11 kB / 3.395 GB, free: 50 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/10.71, allocations: 23 kB / 3.395 GB, free: 50 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/10.71, allocations: 0.7955 MB / 3.395 GB, free: 49.78 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.007131/10.72, allocations: 4.328 MB / 3.4 GB, free: 46.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/10.72, allocations: 0.6918 MB / 3.4 GB, free: 45.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/10.72, allocations: 215.8 kB / 3.4 GB, free: 45.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2901/11.01, allocations: 79.46 MB / 3.478 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/11.01, allocations: 38.47 kB / 3.478 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.765e-06/11.01, allocations: 4 kB / 3.478 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.007305/11.02, allocations: 1.827 MB / 3.48 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/11.02, allocations: 107.2 kB / 3.48 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008107/11.02, allocations: 417.5 kB / 3.48 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001817/11.02, allocations: 37.7 kB / 3.48 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/11.02, allocations: 373.1 kB / 3.481 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/11.02, allocations: 181.2 kB / 3.481 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/11.02, allocations: 12 kB / 3.481 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003801/11.02, allocations: 338.4 kB / 3.481 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/11.02, allocations: 193.8 kB / 3.481 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/11.03, allocations: 388.4 kB / 3.482 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/11.03, allocations: 239.7 kB / 3.482 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/11.03, allocations: 8 kB / 3.482 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002768/11.03, allocations: 0.7842 MB / 3.483 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001012/11.03, allocations: 2.353 MB / 3.485 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/11.03, allocations: 8 kB / 3.485 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/11.03, allocations: 389.4 kB / 3.486 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000994/11.03, allocations: 146.4 kB / 3.486 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/11.04, allocations: 0.8703 MB / 3.486 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/11.04, allocations: 90.84 kB / 3.487 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-05/11.04, allocations: 43.83 kB / 3.487 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/11.04, allocations: 4 kB / 3.487 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002203/11.04, allocations: 0.6937 MB / 3.487 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/11.04, allocations: 12.42 kB / 3.487 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/11.04, allocations: 277.8 kB / 3.488 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/11.04, allocations: 142.1 kB / 3.488 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/11.04, allocations: 0.8143 MB / 3.489 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/11.04, allocations: 86.67 kB / 3.489 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/11.04, allocations: 35.75 kB / 3.489 GB, free: 13.52 MB / 0.5105 GB 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.0003209/11.05, allocations: 144.8 kB / 3.489 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/11.05, allocations: 63.25 kB / 3.489 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005003/11.05, allocations: 2.653 MB / 3.491 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.96e-05/11.05, allocations: 38.72 kB / 3.491 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/11.05, allocations: 3.938 kB / 3.491 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/11.05, allocations: 3.609 kB / 3.491 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007134/11.06, allocations: 3.659 MB / 3.495 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/11.06, allocations: 4 kB / 3.495 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/11.06, allocations: 145 kB / 3.495 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006102/11.06, allocations: 100.9 kB / 3.495 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.703e-05/11.06, allocations: 16 kB / 3.495 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/11.06, allocations: 1.126 MB / 3.496 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/11.06, allocations: 0 / 3.496 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004552/11.07, allocations: 2.086 MB / 3.498 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008414/11.07, allocations: 343.6 kB / 3.499 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/11.07, allocations: 12 kB / 3.499 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000989/11.07, allocations: 72.59 kB / 3.499 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/11.07, allocations: 50.75 kB / 3.499 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/11.07, allocations: 19.94 kB / 3.499 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009479/11.07, allocations: 447.3 kB / 3.499 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/11.07, allocations: 0 / 3.499 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007884/11.08, allocations: 1.397 MB / 3.501 GB, free: 2.129 MB / 0.5105 GB 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.3897/11.47, allocations: 4.377 MB / 3.505 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003735/11.47, allocations: 1.185 MB / 3.506 GB, free: 83.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/11.47, allocations: 0 / 3.506 GB, free: 83.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/11.47, allocations: 0.6698 MB / 3.507 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/11.47, allocations: 291.9 kB / 3.507 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3892/11.86, allocations: 124.2 MB / 3.628 GB, free: 70.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/11.86, allocations: 1.149 MB / 3.629 GB, free: 69.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007934/11.87, allocations: 453.3 kB / 3.63 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of SimCode: time 1.893e-06/11.87, allocations: 4 kB / 3.63 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.132/16, allocations: 44.7 MB / 3.674 GB, free: 36.13 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat