Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.337/2.337, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.754e-05/3.756e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4646, allocations: 54.85 MB / 359.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.851/8.316, allocations: 2.596 GB / 2.947 GB, free: 109.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/8.316, allocations: 83.11 kB / 2.947 GB, free: 109.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.115/10.43, allocations: 417.8 MB / 3.355 GB, free: 58.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/10.43, allocations: 0 / 3.355 GB, free: 58.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.618e-05/10.43, allocations: 20.09 kB / 3.355 GB, free: 58.17 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007358/10.44, allocations: 1.658 MB / 3.357 GB, free: 57.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/10.44, allocations: 10.53 kB / 3.357 GB, free: 57.46 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001897/10.44, allocations: 97.97 kB / 3.357 GB, free: 57.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/10.44, allocations: 293.7 kB / 3.357 GB, free: 57.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/10.44, allocations: 0.5424 MB / 3.358 GB, free: 57.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/10.44, allocations: 51.88 kB / 3.358 GB, free: 57.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/10.44, allocations: 50.8 kB / 3.358 GB, free: 57.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/10.45, allocations: 0.9333 MB / 3.359 GB, free: 56.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/10.45, allocations: 3.781 kB / 3.359 GB, free: 56.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/10.45, allocations: 24.44 kB / 3.359 GB, free: 56.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.002e-05/10.45, allocations: 21.34 kB / 3.359 GB, free: 56.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/10.45, allocations: 0.7691 MB / 3.36 GB, free: 56.93 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.006317/10.46, allocations: 4.557 MB / 3.364 GB, free: 53.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/10.46, allocations: 0.6679 MB / 3.365 GB, free: 53.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/10.46, allocations: 207.9 kB / 3.365 GB, free: 53.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06195/10.52, allocations: 21.45 MB / 3.386 GB, free: 40.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/10.52, allocations: 42.36 kB / 3.386 GB, free: 40.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/10.52, allocations: 0 / 3.386 GB, free: 40.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.01488/10.54, allocations: 2.767 MB / 3.389 GB, free: 39.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/10.54, allocations: 115.3 kB / 3.389 GB, free: 39.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006302/10.54, allocations: 368.6 kB / 3.389 GB, free: 39.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/10.54, allocations: 38.61 kB / 3.389 GB, free: 39.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/10.54, allocations: 374.8 kB / 3.389 GB, free: 39.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/10.54, allocations: 197.1 kB / 3.39 GB, free: 39.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/10.54, allocations: 16.41 kB / 3.39 GB, free: 39.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/10.54, allocations: 336.7 kB / 3.39 GB, free: 38.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/10.54, allocations: 221.5 kB / 3.39 GB, free: 38.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/10.54, allocations: 424.9 kB / 3.391 GB, free: 38.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/10.54, allocations: 272.8 kB / 3.391 GB, free: 38.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/10.54, allocations: 3.125 kB / 3.391 GB, free: 38.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003668/10.54, allocations: 0.9168 MB / 3.392 GB, free: 38.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000556/10.54, allocations: 2.354 MB / 3.394 GB, free: 35.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/10.54, allocations: 8.75 kB / 3.394 GB, free: 35.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003404/10.55, allocations: 425 kB / 3.395 GB, free: 35.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009775/10.55, allocations: 146.8 kB / 3.395 GB, free: 35.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/10.55, allocations: 1.472 MB / 3.396 GB, free: 34.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/10.55, allocations: 87.09 kB / 3.396 GB, free: 34.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/10.55, allocations: 44.59 kB / 3.396 GB, free: 34.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/10.55, allocations: 6.938 kB / 3.396 GB, free: 34.91 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003499/10.56, allocations: 0.8575 MB / 3.397 GB, free: 34.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/10.56, allocations: 7.656 kB / 3.397 GB, free: 34.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/10.56, allocations: 367.6 kB / 3.397 GB, free: 34.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009509/10.56, allocations: 147.5 kB / 3.398 GB, free: 34.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/10.56, allocations: 1.421 MB / 3.399 GB, free: 33.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/10.56, allocations: 100.4 kB / 3.399 GB, free: 33.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/10.56, allocations: 37.7 kB / 3.399 GB, free: 33.81 MB / 490.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 (63): * Single equations (assignments): 61 * 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 9,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002867/10.56, allocations: 145 kB / 3.399 GB, free: 33.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/10.56, allocations: 60.58 kB / 3.399 GB, free: 33.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006615/10.57, allocations: 3.564 MB / 3.403 GB, free: 33.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.045e-05/10.57, allocations: 47.95 kB / 3.403 GB, free: 33.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/10.57, allocations: 0 / 3.403 GB, free: 33.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/10.57, allocations: 3.844 kB / 3.403 GB, free: 33.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007626/10.58, allocations: 4.58 MB / 3.407 GB, free: 32.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/10.58, allocations: 0 / 3.407 GB, free: 32.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/10.58, allocations: 108.1 kB / 3.407 GB, free: 32.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003482/10.58, allocations: 0.9884 MB / 3.408 GB, free: 32.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/10.58, allocations: 18.77 kB / 3.408 GB, free: 32.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/10.58, allocations: 1.975 MB / 3.41 GB, free: 31.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/10.58, allocations: 0 / 3.41 GB, free: 31.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/10.59, allocations: 2.096 MB / 3.412 GB, free: 31.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006019/10.59, allocations: 316.3 kB / 3.413 GB, free: 31.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/10.59, allocations: 19.38 kB / 3.413 GB, free: 31.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/10.59, allocations: 90.38 kB / 3.413 GB, free: 31.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/10.59, allocations: 59.3 kB / 3.413 GB, free: 31.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.712e-05/10.59, allocations: 29.72 kB / 3.413 GB, free: 31.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006132/10.59, allocations: 387.8 kB / 3.413 GB, free: 31 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/10.59, allocations: 2.219 kB / 3.413 GB, free: 31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006834/10.6, allocations: 1.403 MB / 3.415 GB, free: 30.81 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 (48): * Single equations (assignments): 36 * 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 {2 8,2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01395/10.61, allocations: 4.164 MB / 3.419 GB, free: 29.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004328/10.62, allocations: 1.472 MB / 3.42 GB, free: 29.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/10.62, allocations: 3.938 kB / 3.42 GB, free: 29.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/10.62, allocations: 0.8967 MB / 3.421 GB, free: 29.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/10.62, allocations: 274.3 kB / 3.421 GB, free: 29.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2633/10.88, allocations: 77.65 MB / 3.497 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009255/10.88, allocations: 1.154 MB / 3.498 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000834/10.88, allocations: 413.8 kB / 3.499 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/10.88, allocations: 0 / 3.499 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.501/15.39, allocations: 46.93 MB / 3.544 GB, free: 63.07 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat