Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.218e-05/4.226e-05, allocations: 7.984 kB / 305 MB, free: 5.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4752, allocations: 54.84 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.857/8.332, allocations: 2.613 GB / 2.964 GB, free: 116.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/8.333, allocations: 86.41 kB / 2.965 GB, free: 116.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.187/10.52, allocations: 437.3 MB / 3.392 GB, free: 52.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.074e-06/10.52, allocations: 2.312 kB / 3.392 GB, free: 52.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.289e-05/10.52, allocations: 20.89 kB / 3.392 GB, free: 52.55 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00809/10.53, allocations: 1.779 MB / 3.393 GB, free: 51.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/10.53, allocations: 13.66 kB / 3.393 GB, free: 51.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/10.53, allocations: 97.3 kB / 3.393 GB, free: 51.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003689/10.53, allocations: 334.5 kB / 3.394 GB, free: 51.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/10.53, allocations: 0.5898 MB / 3.394 GB, free: 51.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.093e-05/10.53, allocations: 50.81 kB / 3.394 GB, free: 51.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/10.53, allocations: 59.62 kB / 3.394 GB, free: 51.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003324/10.54, allocations: 0.9809 MB / 3.395 GB, free: 50.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/10.54, allocations: 11.17 kB / 3.395 GB, free: 50.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/10.54, allocations: 23.09 kB / 3.395 GB, free: 50.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/10.54, allocations: 18.69 kB / 3.395 GB, free: 50.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/10.54, allocations: 0.8122 MB / 3.396 GB, free: 50.34 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.008049/10.55, allocations: 4.765 MB / 3.401 GB, free: 46.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/10.55, allocations: 0.7303 MB / 3.402 GB, free: 46.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/10.55, allocations: 229.4 kB / 3.402 GB, free: 46.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06476/10.62, allocations: 21.46 MB / 3.423 GB, free: 31.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/10.62, allocations: 42.94 kB / 3.423 GB, free: 31.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 4.388e-06/10.62, allocations: 0 / 3.423 GB, free: 31.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=68): time 0.04506/10.66, allocations: 4 MB / 3.427 GB, free: 30.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/10.66, allocations: 111.2 kB / 3.427 GB, free: 30.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008103/10.66, allocations: 442.6 kB / 3.427 GB, free: 30.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000208/10.66, allocations: 40.73 kB / 3.427 GB, free: 30.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/10.66, allocations: 383.4 kB / 3.428 GB, free: 30 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/10.66, allocations: 233.6 kB / 3.428 GB, free: 29.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.389e-05/10.66, allocations: 15.97 kB / 3.428 GB, free: 29.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.145e-05/10.66, allocations: 344.2 kB / 3.428 GB, free: 29.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009177/10.67, allocations: 333.5 kB / 3.429 GB, free: 29.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/10.67, allocations: 0.5358 MB / 3.429 GB, free: 28.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/10.67, allocations: 391.6 kB / 3.429 GB, free: 28.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/10.67, allocations: 0 / 3.429 GB, free: 28.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00363/10.67, allocations: 1.144 MB / 3.431 GB, free: 28.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005672/10.67, allocations: 2.442 MB / 3.433 GB, free: 25.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/10.67, allocations: 10.61 kB / 3.433 GB, free: 25.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01222/10.68, allocations: 1.317 MB / 3.434 GB, free: 25.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/10.69, allocations: 183.6 kB / 3.434 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/10.69, allocations: 1.756 MB / 3.436 GB, free: 24.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/10.69, allocations: 127.1 kB / 3.436 GB, free: 24.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/10.69, allocations: 54.5 kB / 3.436 GB, free: 24.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/10.69, allocations: 2.875 kB / 3.436 GB, free: 24.05 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003819/10.7, allocations: 1.111 MB / 3.437 GB, free: 23.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/10.7, allocations: 3.938 kB / 3.437 GB, free: 23.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004821/10.7, allocations: 0.6978 MB / 3.438 GB, free: 23.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/10.7, allocations: 181.6 kB / 3.438 GB, free: 23.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/10.7, allocations: 1.638 MB / 3.44 GB, free: 22.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/10.71, allocations: 115.5 kB / 3.44 GB, free: 22.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/10.71, allocations: 51.2 kB / 3.44 GB, free: 22.09 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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003546/10.71, allocations: 155.1 kB / 3.44 GB, free: 21.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/10.71, allocations: 73.3 kB / 3.44 GB, free: 21.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00845/10.71, allocations: 4.071 MB / 3.444 GB, free: 20.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.44e-05/10.72, allocations: 40.61 kB / 3.444 GB, free: 20 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/10.72, allocations: 11.81 kB / 3.444 GB, free: 20 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/10.72, allocations: 3.188 kB / 3.444 GB, free: 20 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/10.73, allocations: 5.347 MB / 3.449 GB, free: 17.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/10.73, allocations: 0 / 3.449 GB, free: 17.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00076/10.73, allocations: 111.1 kB / 3.45 GB, free: 17.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01206/10.74, allocations: 2.224 MB / 3.452 GB, free: 16.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/10.74, allocations: 22.73 kB / 3.452 GB, free: 16.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003673/10.74, allocations: 2.52 MB / 3.454 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/10.74, allocations: 0 / 3.454 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005661/10.75, allocations: 2.753 MB / 3.457 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008199/10.75, allocations: 360.8 kB / 3.457 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/10.75, allocations: 11.91 kB / 3.457 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/10.75, allocations: 105.6 kB / 3.457 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/10.75, allocations: 67.27 kB / 3.457 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/10.75, allocations: 36.73 kB / 3.457 GB, free: 13.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007245/10.75, allocations: 425.3 kB / 3.458 GB, free: 13.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/10.75, allocations: 4 kB / 3.458 GB, free: 13.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007525/10.76, allocations: 1.603 MB / 3.459 GB, free: 11.94 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,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01632/10.78, allocations: 4.766 MB / 3.464 GB, free: 7.719 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005097/10.78, allocations: 1.883 MB / 3.466 GB, free: 5.957 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/10.78, allocations: 4 kB / 3.466 GB, free: 5.953 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002184/10.78, allocations: 1.073 MB / 3.467 GB, free: 4.949 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/10.79, allocations: 305.7 kB / 3.467 GB, free: 4.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6464/11.43, allocations: 78.46 MB / 3.544 GB, free: 60.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/11.43, allocations: 1.192 MB / 3.545 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007966/11.43, allocations: 451.7 kB / 3.546 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/11.43, allocations: 0 / 3.546 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.261/15.69, allocations: 51.37 MB / 3.596 GB, free: 55.64 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat