Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.054/2.054, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.41e-05, allocations: 7.984 kB / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.002/8.112, allocations: 2.502 GB / 2.816 GB, free: 59.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/8.113, allocations: 81.7 kB / 2.816 GB, free: 59.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.442/10.55, allocations: 425.3 MB / 3.232 GB, free: 46.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/10.55, allocations: 0 / 3.232 GB, free: 46.94 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.061e-05/10.55, allocations: 15.89 kB / 3.232 GB, free: 46.94 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.008249/10.56, allocations: 1.699 MB / 3.233 GB, free: 46.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/10.56, allocations: 9.969 kB / 3.233 GB, free: 46.26 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/10.56, allocations: 100.8 kB / 3.233 GB, free: 46.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/10.57, allocations: 313.2 kB / 3.234 GB, free: 46.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/10.57, allocations: 0.5758 MB / 3.234 GB, free: 45.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.903e-05/10.57, allocations: 51.41 kB / 3.234 GB, free: 45.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/10.57, allocations: 56 kB / 3.234 GB, free: 45.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/10.57, allocations: 0.9628 MB / 3.235 GB, free: 45.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/10.57, allocations: 5.156 kB / 3.235 GB, free: 45.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/10.57, allocations: 25.28 kB / 3.235 GB, free: 45.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/10.57, allocations: 27.97 kB / 3.235 GB, free: 45.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/10.58, allocations: 0.7855 MB / 3.236 GB, free: 45.74 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.007815/10.58, allocations: 4.714 MB / 3.241 GB, free: 42.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/10.59, allocations: 0.6208 MB / 3.241 GB, free: 42.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/10.59, allocations: 210.9 kB / 3.242 GB, free: 42.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06477/10.65, allocations: 21.4 MB / 3.262 GB, free: 28.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/10.65, allocations: 41.19 kB / 3.263 GB, free: 28.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.677e-06/10.65, allocations: 0 / 3.263 GB, free: 28.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.04436/10.7, allocations: 3.758 MB / 3.266 GB, free: 28.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/10.7, allocations: 110.6 kB / 3.266 GB, free: 28.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008221/10.7, allocations: 423.8 kB / 3.267 GB, free: 28.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002/10.7, allocations: 39.92 kB / 3.267 GB, free: 28.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/10.7, allocations: 375.7 kB / 3.267 GB, free: 27.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/10.7, allocations: 210.1 kB / 3.267 GB, free: 27.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/10.7, allocations: 12.69 kB / 3.267 GB, free: 27.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/10.7, allocations: 342.2 kB / 3.268 GB, free: 27.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007237/10.7, allocations: 274.3 kB / 3.268 GB, free: 27.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008415/10.7, allocations: 483.4 kB / 3.268 GB, free: 27.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009299/10.7, allocations: 333.4 kB / 3.269 GB, free: 27.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/10.7, allocations: 7.188 kB / 3.269 GB, free: 27.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002819/10.7, allocations: 0.9689 MB / 3.27 GB, free: 27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005898/10.7, allocations: 2.443 MB / 3.272 GB, free: 24.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/10.7, allocations: 7.562 kB / 3.272 GB, free: 24.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006465/10.71, allocations: 0.8201 MB / 3.273 GB, free: 24.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/10.71, allocations: 162.1 kB / 3.273 GB, free: 24.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/10.71, allocations: 1.603 MB / 3.275 GB, free: 23.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/10.72, allocations: 101.7 kB / 3.275 GB, free: 23.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/10.72, allocations: 50.58 kB / 3.275 GB, free: 23.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/10.72, allocations: 3.562 kB / 3.275 GB, free: 23.38 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003129/10.72, allocations: 0.9324 MB / 3.276 GB, free: 23.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/10.72, allocations: 10.03 kB / 3.276 GB, free: 23.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/10.72, allocations: 0.5219 MB / 3.276 GB, free: 23.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/10.72, allocations: 167.4 kB / 3.276 GB, free: 23.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/10.73, allocations: 1.534 MB / 3.278 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/10.73, allocations: 100.2 kB / 3.278 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/10.73, allocations: 49.86 kB / 3.278 GB, free: 22.29 MB / 442.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.0003399/10.73, allocations: 148.9 kB / 3.278 GB, free: 22.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/10.73, allocations: 63.41 kB / 3.278 GB, free: 22.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007961/10.74, allocations: 3.915 MB / 3.282 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.759e-05/10.74, allocations: 43.59 kB / 3.282 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/10.74, allocations: 0 / 3.282 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/10.74, allocations: 3.469 kB / 3.282 GB, free: 21.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00841/10.75, allocations: 4.98 MB / 3.287 GB, free: 21.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/10.75, allocations: 0 / 3.287 GB, free: 21.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/10.75, allocations: 115 kB / 3.287 GB, free: 21.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007138/10.75, allocations: 1.767 MB / 3.289 GB, free: 21.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/10.75, allocations: 22.2 kB / 3.289 GB, free: 21.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003604/10.76, allocations: 2.36 MB / 3.291 GB, free: 20.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/10.76, allocations: 3.953 kB / 3.291 GB, free: 20.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/10.76, allocations: 2.472 MB / 3.293 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007853/10.76, allocations: 344.7 kB / 3.294 GB, free: 19.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/10.76, allocations: 14 kB / 3.294 GB, free: 19.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/10.76, allocations: 99.11 kB / 3.294 GB, free: 19.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/10.76, allocations: 56.72 kB / 3.294 GB, free: 19.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-05/10.76, allocations: 31.3 kB / 3.294 GB, free: 19.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007178/10.76, allocations: 422.9 kB / 3.294 GB, free: 19.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/10.76, allocations: 0.75 kB / 3.294 GB, free: 19.42 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007882/10.77, allocations: 1.551 MB / 3.296 GB, free: 19.2 MB / 442.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.79, allocations: 4.554 MB / 3.3 GB, free: 17.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004865/10.79, allocations: 1.671 MB / 3.302 GB, free: 17.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/10.79, allocations: 0 / 3.302 GB, free: 17.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/10.8, allocations: 1.021 MB / 3.303 GB, free: 17.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/10.8, allocations: 298 kB / 3.303 GB, free: 17.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2582/11.06, allocations: 76.56 MB / 3.378 GB, free: 1.672 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009429/11.06, allocations: 1.178 MB / 3.379 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008758/11.06, allocations: 436.5 kB / 3.38 GB, free: 252 kB / 458.7 MB Notification: Performance of SimCode: time 1.292e-06/11.06, allocations: 0 / 3.38 GB, free: 252 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.429/15.49, allocations: 50.2 MB / 3.429 GB, free: 54.12 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat