Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.139e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4046, allocations: 54.85 MB / 359.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.951/8.355, allocations: 2.613 GB / 2.964 GB, free: 115.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/8.356, allocations: 82.92 kB / 2.964 GB, free: 115.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.242/10.6, allocations: 437.3 MB / 3.392 GB, free: 52.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.364e-06/10.6, allocations: 0 / 3.392 GB, free: 52.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.786e-05/10.6, allocations: 18.44 kB / 3.392 GB, free: 52.41 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.008165/10.61, allocations: 1.779 MB / 3.393 GB, free: 51.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/10.61, allocations: 10.69 kB / 3.393 GB, free: 51.46 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002906/10.61, allocations: 100.4 kB / 3.393 GB, free: 51.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/10.61, allocations: 338.5 kB / 3.394 GB, free: 51.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/10.61, allocations: 0.5875 MB / 3.394 GB, free: 50.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/10.61, allocations: 54.97 kB / 3.394 GB, free: 50.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/10.61, allocations: 53.19 kB / 3.394 GB, free: 50.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/10.62, allocations: 0.9829 MB / 3.395 GB, free: 50.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/10.62, allocations: 7.656 kB / 3.395 GB, free: 50.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/10.62, allocations: 27.69 kB / 3.395 GB, free: 50.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/10.62, allocations: 26.56 kB / 3.395 GB, free: 50.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/10.62, allocations: 0.828 MB / 3.396 GB, free: 50.2 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.008158/10.63, allocations: 4.754 MB / 3.401 GB, free: 46.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/10.63, allocations: 0.7416 MB / 3.402 GB, free: 46.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/10.63, allocations: 239.6 kB / 3.402 GB, free: 45.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06299/10.69, allocations: 21.45 MB / 3.423 GB, free: 31.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/10.69, allocations: 38.94 kB / 3.423 GB, free: 31.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.656e-06/10.69, allocations: 0 / 3.423 GB, free: 31.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=68): time 0.04396/10.74, allocations: 4.006 MB / 3.427 GB, free: 30.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/10.74, allocations: 107.3 kB / 3.427 GB, free: 30.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007506/10.74, allocations: 448.3 kB / 3.427 GB, free: 30.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001483/10.74, allocations: 36.58 kB / 3.427 GB, free: 30.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/10.74, allocations: 353.9 kB / 3.428 GB, free: 29.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/10.74, allocations: 226.1 kB / 3.428 GB, free: 29.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/10.74, allocations: 19.31 kB / 3.428 GB, free: 29.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/10.74, allocations: 368.5 kB / 3.428 GB, free: 29.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008556/10.74, allocations: 332.5 kB / 3.429 GB, free: 29.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009802/10.74, allocations: 0.5479 MB / 3.429 GB, free: 28.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/10.74, allocations: 381.5 kB / 3.429 GB, free: 28.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/10.74, allocations: 7.625 kB / 3.429 GB, free: 28.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003353/10.75, allocations: 1.202 MB / 3.431 GB, free: 28.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005285/10.75, allocations: 2.439 MB / 3.433 GB, free: 25.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/10.75, allocations: 7.281 kB / 3.433 GB, free: 25.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/10.76, allocations: 1.327 MB / 3.434 GB, free: 25.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/10.76, allocations: 170.2 kB / 3.434 GB, free: 25.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/10.76, allocations: 1.759 MB / 3.436 GB, free: 23.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/10.76, allocations: 123.9 kB / 3.436 GB, free: 23.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/10.76, allocations: 50.83 kB / 3.436 GB, free: 23.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/10.77, allocations: 3.438 kB / 3.436 GB, free: 23.95 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003804/10.77, allocations: 1.124 MB / 3.437 GB, free: 23.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/10.77, allocations: 6.375 kB / 3.437 GB, free: 23.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005369/10.77, allocations: 0.7309 MB / 3.438 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/10.78, allocations: 191.4 kB / 3.438 GB, free: 23.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/10.78, allocations: 1.663 MB / 3.44 GB, free: 21.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/10.78, allocations: 118.3 kB / 3.44 GB, free: 21.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/10.78, allocations: 52.36 kB / 3.44 GB, free: 21.95 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.0003468/10.78, allocations: 160.1 kB / 3.44 GB, free: 21.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/10.78, allocations: 69.52 kB / 3.44 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008076/10.79, allocations: 4.076 MB / 3.444 GB, free: 19.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-05/10.79, allocations: 46.33 kB / 3.444 GB, free: 19.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/10.79, allocations: 0 / 3.444 GB, free: 19.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/10.79, allocations: 6.75 kB / 3.444 GB, free: 19.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/10.8, allocations: 5.347 MB / 3.45 GB, free: 17.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/10.8, allocations: 0 / 3.45 GB, free: 17.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007603/10.8, allocations: 110.9 kB / 3.45 GB, free: 17.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01205/10.81, allocations: 2.235 MB / 3.452 GB, free: 16.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/10.81, allocations: 26.22 kB / 3.452 GB, free: 16.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003746/10.82, allocations: 2.515 MB / 3.454 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/10.82, allocations: 0 / 3.454 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006042/10.82, allocations: 2.748 MB / 3.457 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008509/10.82, allocations: 354.2 kB / 3.457 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/10.82, allocations: 15 kB / 3.457 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/10.83, allocations: 109.8 kB / 3.458 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/10.83, allocations: 66.16 kB / 3.458 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/10.83, allocations: 36.09 kB / 3.458 GB, free: 13.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007768/10.83, allocations: 435.1 kB / 3.458 GB, free: 13.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.51e-07/10.83, allocations: 0 / 3.458 GB, free: 13.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007746/10.83, allocations: 1.595 MB / 3.46 GB, free: 11.59 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.01694/10.85, allocations: 4.763 MB / 3.464 GB, free: 7.363 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005438/10.86, allocations: 1.947 MB / 3.466 GB, free: 5.535 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/10.86, allocations: 0 / 3.466 GB, free: 5.535 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002167/10.86, allocations: 1.086 MB / 3.467 GB, free: 4.523 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/10.86, allocations: 294 kB / 3.468 GB, free: 4.309 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6897/11.55, allocations: 78.17 MB / 3.544 GB, free: 61.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009863/11.55, allocations: 1.199 MB / 3.545 GB, free: 60.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002129/11.55, allocations: 0.6723 MB / 3.546 GB, free: 60.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006997/11.56, allocations: 439.2 kB / 3.546 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/11.56, allocations: 0 / 3.546 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1702/11.73, allocations: 68.42 MB / 3.613 GB, free: 55.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003033/11.73, allocations: 247.3 kB / 3.613 GB, free: 55.64 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.999/17.73, allocations: 0 / 3.613 GB, free: 55.64 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat