Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.978/1.978, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.984e-05, allocations: 4 kB / 267.6 MB, free: 5.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1379, allocations: 48.71 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.707/7.845, allocations: 2.507 GB / 2.816 GB, free: 83.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/7.845, allocations: 82.89 kB / 2.816 GB, free: 83.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.088/9.934, allocations: 422.2 MB / 3.228 GB, free: 4.621 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/9.934, allocations: 0 / 3.228 GB, free: 4.621 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.37e-05/9.934, allocations: 16 kB / 3.228 GB, free: 4.605 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.009721/9.943, allocations: 1.725 MB / 3.23 GB, free: 2.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/9.944, allocations: 8.031 kB / 3.23 GB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005712/9.949, allocations: 334.8 kB / 3.23 GB, free: 2.504 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/9.951, allocations: 0.5856 MB / 3.231 GB, free: 1.883 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.249e-05/9.952, allocations: 28 kB / 3.231 GB, free: 1.855 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/9.952, allocations: 32 kB / 3.231 GB, free: 1.824 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00216/9.954, allocations: 0.5421 MB / 3.231 GB, free: 1.281 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/9.956, allocations: 0.6705 MB / 3.232 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/9.956, allocations: 4 kB / 3.232 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/9.956, allocations: 0 / 3.232 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.554e-05/9.956, allocations: 29.3 kB / 3.232 GB, free: 0.5156 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.4995/10.46, allocations: 36.69 MB / 3.268 GB, free: 24.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000952/10.46, allocations: 357.1 kB / 3.268 GB, free: 24.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/10.46, allocations: 192.5 kB / 3.268 GB, free: 24.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05919/10.52, allocations: 20.28 MB / 3.288 GB, free: 27.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/10.52, allocations: 39.41 kB / 3.288 GB, free: 27.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 3.697e-06/10.52, allocations: 0 / 3.288 GB, free: 27.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=58): time 0.03904/10.56, allocations: 3.298 MB / 3.291 GB, free: 26.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/10.56, allocations: 111.1 kB / 3.291 GB, free: 26.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007164/10.56, allocations: 403.3 kB / 3.292 GB, free: 26.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/10.56, allocations: 25.7 kB / 3.292 GB, free: 26.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/10.56, allocations: 398 kB / 3.292 GB, free: 26.03 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/10.56, allocations: 190 kB / 3.292 GB, free: 25.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/10.56, allocations: 0 / 3.292 GB, free: 25.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/10.56, allocations: 346.9 kB / 3.293 GB, free: 25.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/10.56, allocations: 278.4 kB / 3.293 GB, free: 25.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/10.56, allocations: 484.4 kB / 3.293 GB, free: 25.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/10.56, allocations: 477.3 kB / 3.294 GB, free: 25.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/10.56, allocations: 3.75 kB / 3.294 GB, free: 25.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00476/10.57, allocations: 1.111 MB / 3.295 GB, free: 25.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009855/10.57, allocations: 2.444 MB / 3.297 GB, free: 22.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/10.57, allocations: 7.844 kB / 3.297 GB, free: 22.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003901/10.57, allocations: 0.5636 MB / 3.298 GB, free: 22.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/10.57, allocations: 168.2 kB / 3.298 GB, free: 22.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/10.58, allocations: 1.739 MB / 3.3 GB, free: 21.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/10.58, allocations: 110.2 kB / 3.3 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/10.58, allocations: 50.75 kB / 3.3 GB, free: 21.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/10.58, allocations: 3.844 kB / 3.3 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005315/10.58, allocations: 0.9612 MB / 3.301 GB, free: 21.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/10.58, allocations: 7.406 kB / 3.301 GB, free: 21.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/10.59, allocations: 340 kB / 3.301 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/10.59, allocations: 165.7 kB / 3.301 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/10.59, allocations: 1.461 MB / 3.303 GB, free: 20.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/10.59, allocations: 86.75 kB / 3.303 GB, free: 20.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/10.59, allocations: 44.95 kB / 3.303 GB, free: 20.49 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004961/10.59, allocations: 131.8 kB / 3.303 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004239/10.6, allocations: 0.9125 MB / 3.304 GB, free: 20.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/10.6, allocations: 60.25 kB / 3.304 GB, free: 20.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007781/10.6, allocations: 3.367 MB / 3.307 GB, free: 19.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.179e-05/10.6, allocations: 40.02 kB / 3.307 GB, free: 19.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/10.6, allocations: 7.062 kB / 3.307 GB, free: 19.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/10.6, allocations: 3.844 kB / 3.307 GB, free: 19.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008503/10.61, allocations: 4.293 MB / 3.311 GB, free: 19.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/10.61, allocations: 3.312 kB / 3.311 GB, free: 19.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006802/10.61, allocations: 97.73 kB / 3.312 GB, free: 19.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004236/10.62, allocations: 1.541 MB / 3.313 GB, free: 19.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/10.62, allocations: 14.55 kB / 3.313 GB, free: 19.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004055/10.62, allocations: 2.623 MB / 3.316 GB, free: 18.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/10.62, allocations: 0.8438 kB / 3.316 GB, free: 18.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004835/10.63, allocations: 2.341 MB / 3.318 GB, free: 18.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008392/10.63, allocations: 305.2 kB / 3.318 GB, free: 17.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/10.63, allocations: 0 / 3.318 GB, free: 17.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/10.63, allocations: 80.33 kB / 3.318 GB, free: 17.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/10.63, allocations: 66.55 kB / 3.318 GB, free: 17.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.959e-05/10.63, allocations: 25.47 kB / 3.318 GB, free: 17.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006353/10.63, allocations: 361.8 kB / 3.319 GB, free: 17.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.11e-07/10.63, allocations: 1.125 kB / 3.319 GB, free: 17.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007914/10.64, allocations: 1.497 MB / 3.32 GB, free: 17.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01915/10.66, allocations: 4.552 MB / 3.325 GB, free: 32.65 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004837/10.66, allocations: 1.547 MB / 3.326 GB, free: 32.61 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/10.66, allocations: 3.844 kB / 3.326 GB, free: 32.61 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/10.66, allocations: 0.9066 MB / 3.327 GB, free: 32.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/10.67, allocations: 265.4 kB / 3.327 GB, free: 32.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00883/10.68, allocations: 2.399 MB / 3.33 GB, free: 32.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/10.68, allocations: 1.127 MB / 3.331 GB, free: 31.33 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007912/10.68, allocations: 391.2 kB / 3.331 GB, free: 31.32 MB / 474.7 MB Notification: Performance of SimCode: time 1.694e-06/10.68, allocations: 0 / 3.331 GB, free: 31.32 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.123/14.8, allocations: 49.19 MB / 3.379 GB, free: 23.88 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat