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.362/2.362, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.196e-05/4.228e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4207, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.748/8.169, allocations: 2.596 GB / 2.947 GB, free: 110.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/8.169, allocations: 87.34 kB / 2.947 GB, free: 110.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.243/10.41, allocations: 417.8 MB / 3.355 GB, free: 58.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.056e-06/10.41, allocations: 0 / 3.355 GB, free: 58.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.558e-05/10.41, allocations: 17.91 kB / 3.355 GB, free: 58.43 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.01012/10.42, allocations: 1.647 MB / 3.357 GB, free: 57.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/10.42, allocations: 13.81 kB / 3.357 GB, free: 57.72 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003229/10.42, allocations: 92.92 kB / 3.357 GB, free: 57.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005326/10.43, allocations: 301.5 kB / 3.357 GB, free: 57.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/10.43, allocations: 0.5386 MB / 3.358 GB, free: 57.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/10.43, allocations: 43.75 kB / 3.358 GB, free: 57.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/10.43, allocations: 58.89 kB / 3.358 GB, free: 57.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004769/10.44, allocations: 0.9412 MB / 3.359 GB, free: 57.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.256e-05/10.44, allocations: 5.969 kB / 3.359 GB, free: 57.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/10.44, allocations: 31.78 kB / 3.359 GB, free: 57.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.055e-05/10.44, allocations: 19.47 kB / 3.359 GB, free: 57.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004422/10.44, allocations: 0.7758 MB / 3.36 GB, free: 57.18 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.006896/10.45, allocations: 4.552 MB / 3.364 GB, free: 53.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/10.45, allocations: 0.6713 MB / 3.365 GB, free: 53.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/10.45, allocations: 219 kB / 3.365 GB, free: 53.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08214/10.53, allocations: 21.46 MB / 3.386 GB, free: 40.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/10.53, allocations: 41.64 kB / 3.386 GB, free: 40.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.697e-06/10.53, allocations: 5.938 kB / 3.386 GB, free: 40.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.01548/10.55, allocations: 2.755 MB / 3.389 GB, free: 39.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/10.55, allocations: 115 kB / 3.389 GB, free: 39.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/10.55, allocations: 372.4 kB / 3.389 GB, free: 39.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001595/10.55, allocations: 36.67 kB / 3.389 GB, free: 39.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/10.55, allocations: 333.9 kB / 3.389 GB, free: 39.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/10.55, allocations: 197.7 kB / 3.39 GB, free: 39.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/10.55, allocations: 14.56 kB / 3.39 GB, free: 39.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/10.55, allocations: 363 kB / 3.39 GB, free: 39.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/10.55, allocations: 226.2 kB / 3.39 GB, free: 39.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007371/10.55, allocations: 425.1 kB / 3.391 GB, free: 38.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007048/10.55, allocations: 272.7 kB / 3.391 GB, free: 38.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/10.55, allocations: 3.719 kB / 3.391 GB, free: 38.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003907/10.56, allocations: 0.9633 MB / 3.392 GB, free: 38.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005568/10.56, allocations: 2.354 MB / 3.394 GB, free: 36.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/10.56, allocations: 3.969 kB / 3.394 GB, free: 36.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003467/10.56, allocations: 448.6 kB / 3.395 GB, free: 36.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009912/10.56, allocations: 144.6 kB / 3.395 GB, free: 36.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/10.56, allocations: 1.477 MB / 3.396 GB, free: 35.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/10.57, allocations: 85.94 kB / 3.396 GB, free: 35.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/10.57, allocations: 40.92 kB / 3.396 GB, free: 35.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/10.57, allocations: 3.5 kB / 3.396 GB, free: 35.22 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003697/10.57, allocations: 0.8706 MB / 3.397 GB, free: 35.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/10.57, allocations: 7.875 kB / 3.397 GB, free: 35.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/10.57, allocations: 395.9 kB / 3.398 GB, free: 35.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/10.57, allocations: 142.1 kB / 3.398 GB, free: 35.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/10.58, allocations: 1.458 MB / 3.399 GB, free: 34.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/10.58, allocations: 88.75 kB / 3.399 GB, free: 34.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/10.58, allocations: 39.2 kB / 3.399 GB, free: 34.11 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.0003065/10.58, allocations: 147.7 kB / 3.399 GB, free: 34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/10.58, allocations: 63.11 kB / 3.399 GB, free: 33.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006908/10.58, allocations: 3.556 MB / 3.403 GB, free: 33.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-05/10.59, allocations: 54.72 kB / 3.403 GB, free: 33.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/10.59, allocations: 0 / 3.403 GB, free: 33.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/10.59, allocations: 3.328 kB / 3.403 GB, free: 33.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008109/10.59, allocations: 4.58 MB / 3.407 GB, free: 33.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/10.59, allocations: 5.188 kB / 3.407 GB, free: 33.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/10.59, allocations: 106.5 kB / 3.408 GB, free: 33.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00363/10.6, allocations: 0.9836 MB / 3.408 GB, free: 33.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/10.6, allocations: 19.19 kB / 3.408 GB, free: 33.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/10.6, allocations: 1.977 MB / 3.41 GB, free: 31.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/10.6, allocations: 9.969 kB / 3.41 GB, free: 31.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/10.6, allocations: 2.091 MB / 3.412 GB, free: 31.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006488/10.6, allocations: 315.5 kB / 3.413 GB, free: 31.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/10.6, allocations: 18.23 kB / 3.413 GB, free: 31.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/10.61, allocations: 99.19 kB / 3.413 GB, free: 31.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/10.61, allocations: 52.2 kB / 3.413 GB, free: 31.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.621e-05/10.61, allocations: 29.62 kB / 3.413 GB, free: 31.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005982/10.61, allocations: 384.1 kB / 3.413 GB, free: 31.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.2e-07/10.61, allocations: 3.75 kB / 3.413 GB, free: 31.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006533/10.61, allocations: 1.416 MB / 3.415 GB, free: 31.1 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.01431/10.63, allocations: 4.137 MB / 3.419 GB, free: 29.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004749/10.63, allocations: 1.551 MB / 3.42 GB, free: 29.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/10.63, allocations: 0 / 3.42 GB, free: 29.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/10.63, allocations: 0.8978 MB / 3.421 GB, free: 29.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/10.64, allocations: 272.4 kB / 3.421 GB, free: 29.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.273/10.91, allocations: 77.67 MB / 3.497 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009069/10.91, allocations: 1.164 MB / 3.498 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002137/10.91, allocations: 0.6854 MB / 3.499 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007655/10.91, allocations: 397.6 kB / 3.499 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of SimCode: time 1.603e-06/10.91, allocations: 0 / 3.499 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.53/11.44, allocations: 59.91 MB / 3.558 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/11.44, allocations: 243.4 kB / 3.558 GB, free: 62.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.435/16.88, allocations: 0 / 3.558 GB, free: 62.9 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