Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.354/2.354, allocations: 235 MB / 247.6 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.352e-05/4.345e-05, allocations: 4 kB / 305 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4813, allocations: 54.85 MB / 359.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.057/8.539, allocations: 2.613 GB / 2.964 GB, free: 115.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003606/8.539, allocations: 80.98 kB / 2.964 GB, free: 115.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.17/10.71, allocations: 436.2 MB / 3.39 GB, free: 52.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.825e-06/10.71, allocations: 3.938 kB / 3.39 GB, free: 52.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.326e-05/10.71, allocations: 19.47 kB / 3.39 GB, free: 52.26 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.007666/10.72, allocations: 1.743 MB / 3.392 GB, free: 51.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/10.72, allocations: 12.25 kB / 3.392 GB, free: 51.33 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002018/10.72, allocations: 103.8 kB / 3.392 GB, free: 51.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/10.72, allocations: 323.9 kB / 3.392 GB, free: 51.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/10.72, allocations: 0.5828 MB / 3.393 GB, free: 50.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.124e-05/10.72, allocations: 48.05 kB / 3.393 GB, free: 50.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/10.72, allocations: 57.34 kB / 3.393 GB, free: 50.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003405/10.73, allocations: 0.9588 MB / 3.394 GB, free: 50.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/10.73, allocations: 7.141 kB / 3.394 GB, free: 50.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/10.73, allocations: 23.62 kB / 3.394 GB, free: 50.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/10.73, allocations: 19.25 kB / 3.394 GB, free: 50.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003208/10.73, allocations: 0.7853 MB / 3.395 GB, free: 50.12 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.008696/10.74, allocations: 4.725 MB / 3.399 GB, free: 46.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/10.74, allocations: 0.6159 MB / 3.4 GB, free: 45.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/10.74, allocations: 215.5 kB / 3.4 GB, free: 45.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0655/10.81, allocations: 21.45 MB / 3.421 GB, free: 31.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/10.81, allocations: 41.59 kB / 3.421 GB, free: 31.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.747e-06/10.81, allocations: 0 / 3.421 GB, free: 31.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.0427/10.85, allocations: 3.749 MB / 3.425 GB, free: 30.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/10.85, allocations: 113.3 kB / 3.425 GB, free: 30.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007856/10.85, allocations: 430.5 kB / 3.425 GB, free: 30.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/10.85, allocations: 33.7 kB / 3.425 GB, free: 30.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/10.85, allocations: 382.6 kB / 3.426 GB, free: 29.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/10.85, allocations: 209.8 kB / 3.426 GB, free: 29.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/10.85, allocations: 12 kB / 3.426 GB, free: 29.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.944e-05/10.85, allocations: 341.2 kB / 3.426 GB, free: 29.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/10.85, allocations: 274.5 kB / 3.426 GB, free: 29.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000823/10.85, allocations: 480 kB / 3.427 GB, free: 28.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009263/10.85, allocations: 333.5 kB / 3.427 GB, free: 28.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/10.85, allocations: 4 kB / 3.427 GB, free: 28.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002698/10.86, allocations: 0.9757 MB / 3.428 GB, free: 28.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005642/10.86, allocations: 2.44 MB / 3.43 GB, free: 25.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/10.86, allocations: 6.188 kB / 3.43 GB, free: 25.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006317/10.86, allocations: 0.8172 MB / 3.431 GB, free: 25.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/10.87, allocations: 166 kB / 3.431 GB, free: 25.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/10.87, allocations: 1.603 MB / 3.433 GB, free: 24.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/10.87, allocations: 100.4 kB / 3.433 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/10.87, allocations: 49.34 kB / 3.433 GB, free: 24.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/10.87, allocations: 5.969 kB / 3.433 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002984/10.87, allocations: 0.9328 MB / 3.434 GB, free: 23.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/10.87, allocations: 7.312 kB / 3.434 GB, free: 23.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00313/10.88, allocations: 0.5142 MB / 3.435 GB, free: 23.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/10.88, allocations: 168 kB / 3.435 GB, free: 23.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/10.88, allocations: 1.536 MB / 3.436 GB, free: 22.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/10.88, allocations: 97.69 kB / 3.436 GB, free: 22.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/10.88, allocations: 44.62 kB / 3.436 GB, free: 22.49 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (66): * Single equations (assignments): 64 * 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.0003207/10.88, allocations: 159.5 kB / 3.436 GB, free: 22.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/10.88, allocations: 68.48 kB / 3.437 GB, free: 22.31 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007744/10.89, allocations: 3.914 MB / 3.44 GB, free: 20.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.394e-05/10.89, allocations: 54.91 kB / 3.44 GB, free: 20.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/10.89, allocations: 0 / 3.44 GB, free: 20.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/10.89, allocations: 7.75 kB / 3.44 GB, free: 20.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008105/10.9, allocations: 4.965 MB / 3.445 GB, free: 18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/10.9, allocations: 3.625 kB / 3.445 GB, free: 18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007904/10.9, allocations: 112.8 kB / 3.445 GB, free: 17.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007038/10.91, allocations: 1.77 MB / 3.447 GB, free: 17.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/10.91, allocations: 21.41 kB / 3.447 GB, free: 17.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003249/10.91, allocations: 2.367 MB / 3.449 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/10.91, allocations: 0 / 3.449 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004123/10.91, allocations: 2.479 MB / 3.452 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/10.91, allocations: 340.4 kB / 3.452 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/10.91, allocations: 15.75 kB / 3.452 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/10.92, allocations: 96.56 kB / 3.452 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/10.92, allocations: 60.66 kB / 3.452 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.344e-05/10.92, allocations: 36.33 kB / 3.452 GB, free: 14.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007085/10.92, allocations: 418 kB / 3.453 GB, free: 14.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/10.92, allocations: 0 / 3.453 GB, free: 14.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007455/10.92, allocations: 1.563 MB / 3.454 GB, free: 13.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (47): * Single equations (assignments): 36 * 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: 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.01646/10.94, allocations: 4.564 MB / 3.459 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004564/10.95, allocations: 1.667 MB / 3.46 GB, free: 9.703 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/10.95, allocations: 0 / 3.46 GB, free: 9.703 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002029/10.95, allocations: 1.021 MB / 3.461 GB, free: 8.742 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/10.95, allocations: 301.8 kB / 3.462 GB, free: 8.531 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6407/11.59, allocations: 77.88 MB / 3.538 GB, free: 60.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/11.59, allocations: 1.175 MB / 3.539 GB, free: 59.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007358/11.59, allocations: 442.9 kB / 3.539 GB, free: 59.47 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/11.59, allocations: 0 / 3.539 GB, free: 59.47 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.07/15.66, allocations: 50.36 MB / 3.589 GB, free: 55.94 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat