Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 235 MB / 247.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.563e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4262, allocations: 54.86 MB / 359.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.865/8.291, allocations: 2.613 GB / 2.964 GB, free: 115.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/8.291, allocations: 89.33 kB / 2.964 GB, free: 115.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.145/10.44, allocations: 436.5 MB / 3.39 GB, free: 52.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.554e-06/10.44, allocations: 0 / 3.39 GB, free: 52.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.523e-05/10.44, allocations: 21.53 kB / 3.39 GB, free: 52.86 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007505/10.44, allocations: 1.755 MB / 3.392 GB, free: 51.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/10.44, allocations: 7.875 kB / 3.392 GB, free: 51.94 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/10.44, allocations: 99.42 kB / 3.392 GB, free: 51.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/10.45, allocations: 338.5 kB / 3.393 GB, free: 51.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/10.45, allocations: 0.5695 MB / 3.393 GB, free: 51.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.258e-05/10.45, allocations: 54.53 kB / 3.393 GB, free: 51.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/10.45, allocations: 56.78 kB / 3.393 GB, free: 51.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002977/10.45, allocations: 0.9627 MB / 3.394 GB, free: 50.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.426e-05/10.45, allocations: 13.73 kB / 3.394 GB, free: 50.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/10.45, allocations: 26.09 kB / 3.394 GB, free: 50.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/10.45, allocations: 23.84 kB / 3.394 GB, free: 50.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003/10.46, allocations: 0.8018 MB / 3.395 GB, free: 50.71 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.006622/10.46, allocations: 4.446 MB / 3.399 GB, free: 46.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004547/10.47, allocations: 0.7084 MB / 3.4 GB, free: 46.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/10.47, allocations: 236.6 kB / 3.4 GB, free: 46.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2857/10.75, allocations: 83.25 MB / 3.482 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/10.75, allocations: 38.66 kB / 3.482 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.836e-06/10.75, allocations: 0 / 3.482 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.006898/10.76, allocations: 1.817 MB / 3.483 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/10.76, allocations: 111.2 kB / 3.483 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/10.76, allocations: 421.1 kB / 3.484 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/10.76, allocations: 37.7 kB / 3.484 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/10.76, allocations: 339.4 kB / 3.484 GB, free: 17.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/10.76, allocations: 182.5 kB / 3.484 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/10.76, allocations: 8 kB / 3.484 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001854/10.76, allocations: 372.9 kB / 3.485 GB, free: 17.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/10.76, allocations: 196.4 kB / 3.485 GB, free: 17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/10.76, allocations: 385 kB / 3.485 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/10.76, allocations: 251.1 kB / 3.486 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/10.76, allocations: 4 kB / 3.486 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00247/10.77, allocations: 0.8185 MB / 3.486 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009968/10.77, allocations: 2.18 MB / 3.489 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/10.77, allocations: 4 kB / 3.489 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/10.77, allocations: 384.4 kB / 3.489 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009576/10.77, allocations: 141.2 kB / 3.489 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/10.77, allocations: 0.87 MB / 3.49 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/10.77, allocations: 97.52 kB / 3.49 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/10.77, allocations: 35.47 kB / 3.49 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/10.78, allocations: 4 kB / 3.49 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002706/10.78, allocations: 0.7771 MB / 3.491 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/10.78, allocations: 7.625 kB / 3.491 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001797/10.78, allocations: 288.2 kB / 3.491 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009306/10.78, allocations: 142.2 kB / 3.491 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/10.78, allocations: 0.8315 MB / 3.492 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/10.78, allocations: 86.58 kB / 3.492 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/10.78, allocations: 35.75 kB / 3.492 GB, free: 9.914 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0004354/10.78, allocations: 145.7 kB / 3.492 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/10.78, allocations: 63.3 kB / 3.492 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008293/10.79, allocations: 2.842 MB / 3.495 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001148/10.79, allocations: 46.14 kB / 3.495 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/10.79, allocations: 0 / 3.495 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-05/10.79, allocations: 3.844 kB / 3.495 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008499/10.8, allocations: 3.959 MB / 3.499 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/10.8, allocations: 4 kB / 3.499 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/10.8, allocations: 165.1 kB / 3.499 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/10.8, allocations: 71 kB / 3.499 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/10.8, allocations: 15.69 kB / 3.499 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009467/10.8, allocations: 1.191 MB / 3.5 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/10.8, allocations: 0 / 3.5 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.363/11.17, allocations: 2.365 MB / 3.503 GB, free: 84.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008678/11.17, allocations: 316.4 kB / 3.503 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/11.17, allocations: 14.39 kB / 3.503 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/11.17, allocations: 75.84 kB / 3.503 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/11.17, allocations: 51.58 kB / 3.503 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.291e-05/11.17, allocations: 25.42 kB / 3.503 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007738/11.17, allocations: 383.6 kB / 3.504 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/11.17, allocations: 0 / 3.504 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007459/11.18, allocations: 1.388 MB / 3.505 GB, free: 84.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01734/11.2, allocations: 4.542 MB / 3.509 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004137/11.2, allocations: 1.293 MB / 3.511 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/11.2, allocations: 3.75 kB / 3.511 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/11.2, allocations: 0.8068 MB / 3.511 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/11.2, allocations: 296.1 kB / 3.512 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2504/11.46, allocations: 77.73 MB / 3.588 GB, free: 81.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/11.46, allocations: 1.168 MB / 3.589 GB, free: 80.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001907/11.46, allocations: 0.672 MB / 3.589 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006649/11.46, allocations: 441.6 kB / 3.59 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/11.46, allocations: 2.062 kB / 3.59 GB, free: 80.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/11.59, allocations: 58.14 MB / 3.647 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/11.59, allocations: 233.3 kB / 3.647 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.408/17, allocations: 4 kB / 3.647 GB, free: 57.47 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat