Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.437e-05, allocations: 0 / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4062, allocations: 54.85 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.718/8.124, allocations: 2.596 GB / 2.947 GB, free: 109.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/8.124, allocations: 87.22 kB / 2.947 GB, free: 109.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.183/10.31, allocations: 417.8 MB / 3.355 GB, free: 58.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.635e-06/10.31, allocations: 0 / 3.355 GB, free: 58.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.851e-05/10.31, allocations: 15.06 kB / 3.355 GB, free: 58.84 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.31, allocations: 1.649 MB / 3.357 GB, free: 58.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/10.31, allocations: 6.625 kB / 3.357 GB, free: 58.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/10.32, allocations: 102 kB / 3.357 GB, free: 58.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/10.32, allocations: 300.3 kB / 3.357 GB, free: 58.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/10.32, allocations: 0.5424 MB / 3.358 GB, free: 57.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/10.32, allocations: 53.14 kB / 3.358 GB, free: 57.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/10.32, allocations: 58.14 kB / 3.358 GB, free: 57.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/10.32, allocations: 0.9316 MB / 3.359 GB, free: 57.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/10.32, allocations: 3.656 kB / 3.359 GB, free: 57.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/10.32, allocations: 24.53 kB / 3.359 GB, free: 57.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/10.32, allocations: 21.66 kB / 3.359 GB, free: 57.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/10.33, allocations: 0.772 MB / 3.36 GB, free: 57.62 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.006928/10.33, allocations: 4.558 MB / 3.364 GB, free: 54.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/10.34, allocations: 0.6536 MB / 3.365 GB, free: 54.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/10.34, allocations: 211.2 kB / 3.365 GB, free: 54.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06341/10.4, allocations: 21.46 MB / 3.386 GB, free: 40.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/10.4, allocations: 47.27 kB / 3.386 GB, free: 40.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.998e-06/10.4, allocations: 0 / 3.386 GB, free: 40.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.01493/10.41, allocations: 2.762 MB / 3.389 GB, free: 40.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/10.42, allocations: 111.3 kB / 3.389 GB, free: 40.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006337/10.42, allocations: 369.3 kB / 3.389 GB, free: 40.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/10.42, allocations: 36.39 kB / 3.389 GB, free: 40.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/10.42, allocations: 331 kB / 3.389 GB, free: 39.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/10.42, allocations: 203.4 kB / 3.39 GB, free: 39.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/10.42, allocations: 14.47 kB / 3.39 GB, free: 39.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/10.42, allocations: 358.9 kB / 3.39 GB, free: 39.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/10.42, allocations: 226.9 kB / 3.39 GB, free: 39.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/10.42, allocations: 422.3 kB / 3.391 GB, free: 39.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/10.42, allocations: 271.6 kB / 3.391 GB, free: 39.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/10.42, allocations: 3.281 kB / 3.391 GB, free: 39.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003638/10.42, allocations: 0.9441 MB / 3.392 GB, free: 39.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005274/10.42, allocations: 2.358 MB / 3.394 GB, free: 36.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/10.42, allocations: 7.188 kB / 3.394 GB, free: 36.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003372/10.43, allocations: 441.5 kB / 3.395 GB, free: 36.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009795/10.43, allocations: 143.6 kB / 3.395 GB, free: 36.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/10.43, allocations: 1.483 MB / 3.396 GB, free: 35.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/10.43, allocations: 79.11 kB / 3.396 GB, free: 35.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/10.43, allocations: 41.7 kB / 3.396 GB, free: 35.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/10.43, allocations: 3.938 kB / 3.396 GB, free: 35.65 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003619/10.43, allocations: 0.8543 MB / 3.397 GB, free: 35.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/10.43, allocations: 10.67 kB / 3.397 GB, free: 35.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/10.44, allocations: 392.9 kB / 3.397 GB, free: 35.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009887/10.44, allocations: 159.5 kB / 3.398 GB, free: 35.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/10.44, allocations: 1.441 MB / 3.399 GB, free: 34.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/10.44, allocations: 94.83 kB / 3.399 GB, free: 34.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/10.44, allocations: 36.03 kB / 3.399 GB, free: 34.54 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.0002945/10.44, allocations: 153.7 kB / 3.399 GB, free: 34.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/10.44, allocations: 56.77 kB / 3.399 GB, free: 34.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006649/10.45, allocations: 3.556 MB / 3.403 GB, free: 34.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-05/10.45, allocations: 50.61 kB / 3.403 GB, free: 34.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/10.45, allocations: 0 / 3.403 GB, free: 34.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/10.45, allocations: 3.609 kB / 3.403 GB, free: 34.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007877/10.46, allocations: 4.582 MB / 3.407 GB, free: 33.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/10.46, allocations: 0 / 3.407 GB, free: 33.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/10.46, allocations: 112.7 kB / 3.407 GB, free: 33.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003472/10.46, allocations: 0.9865 MB / 3.408 GB, free: 33.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/10.46, allocations: 16.02 kB / 3.408 GB, free: 33.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/10.46, allocations: 1.979 MB / 3.41 GB, free: 32.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/10.46, allocations: 0 / 3.41 GB, free: 32.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/10.47, allocations: 2.093 MB / 3.412 GB, free: 32.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006685/10.47, allocations: 314.2 kB / 3.413 GB, free: 31.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/10.47, allocations: 14.86 kB / 3.413 GB, free: 31.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/10.47, allocations: 103.4 kB / 3.413 GB, free: 31.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/10.47, allocations: 59.62 kB / 3.413 GB, free: 31.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/10.47, allocations: 28.94 kB / 3.413 GB, free: 31.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006288/10.47, allocations: 382.4 kB / 3.413 GB, free: 31.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/10.47, allocations: 0 / 3.413 GB, free: 31.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006814/10.48, allocations: 1.416 MB / 3.415 GB, free: 31.53 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.01418/10.49, allocations: 4.152 MB / 3.419 GB, free: 30.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004774/10.5, allocations: 1.513 MB / 3.42 GB, free: 30.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/10.5, allocations: 0 / 3.42 GB, free: 30.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/10.5, allocations: 0.8991 MB / 3.421 GB, free: 30.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/10.5, allocations: 278.9 kB / 3.421 GB, free: 30.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.253/10.75, allocations: 77.63 MB / 3.497 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009633/10.75, allocations: 1.152 MB / 3.498 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002169/10.76, allocations: 0.6885 MB / 3.499 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/10.76, allocations: 406.2 kB / 3.499 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/10.76, allocations: 0 / 3.499 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5812/11.34, allocations: 60.01 MB / 3.558 GB, free: 63.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/11.34, allocations: 240.3 kB / 3.558 GB, free: 62.92 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.352/16.69, allocations: 0 / 3.558 GB, free: 62.92 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat