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.304/2.304, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.556e-05, allocations: 4 kB / 299.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3751, allocations: 54.85 MB / 354.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.613/7.988, allocations: 2.612 GB / 2.958 GB, free: 109.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/7.989, allocations: 87.61 kB / 2.958 GB, free: 109.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.091/10.08, allocations: 432.3 MB / 3.38 GB, free: 57.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/10.08, allocations: 0 / 3.38 GB, free: 57.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.627e-05/10.08, allocations: 21.12 kB / 3.38 GB, free: 57.16 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.00732/10.09, allocations: 1.744 MB / 3.382 GB, free: 56.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/10.09, allocations: 11.62 kB / 3.382 GB, free: 56.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/10.09, allocations: 331.2 kB / 3.382 GB, free: 56.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/10.09, allocations: 0.5783 MB / 3.383 GB, free: 56.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/10.09, allocations: 30.83 kB / 3.383 GB, free: 56.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/10.09, allocations: 31.31 kB / 3.383 GB, free: 56.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001332/10.09, allocations: 0.5364 MB / 3.383 GB, free: 56.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/10.1, allocations: 0.6577 MB / 3.384 GB, free: 55.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/10.1, allocations: 6.656 kB / 3.384 GB, free: 55.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/10.1, allocations: 3.5 kB / 3.384 GB, free: 55.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.657e-05/10.1, allocations: 23.44 kB / 3.384 GB, free: 55.87 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.01071/10.11, allocations: 5.76 MB / 3.39 GB, free: 51.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/10.11, allocations: 443 kB / 3.39 GB, free: 51.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/10.11, allocations: 218.7 kB / 3.39 GB, free: 51.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3046/10.41, allocations: 81.84 MB / 3.47 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/10.41, allocations: 35.59 kB / 3.47 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.747e-06/10.41, allocations: 3.844 kB / 3.47 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51): time 0.009124/10.42, allocations: 1.784 MB / 3.472 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/10.42, allocations: 111.1 kB / 3.472 GB, free: 35.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000707/10.42, allocations: 377.7 kB / 3.473 GB, free: 35.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/10.42, allocations: 25.7 kB / 3.473 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/10.42, allocations: 345.9 kB / 3.473 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/10.42, allocations: 166.9 kB / 3.473 GB, free: 34.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/10.42, allocations: 0 / 3.473 GB, free: 34.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001813/10.42, allocations: 367 kB / 3.473 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/10.42, allocations: 197.9 kB / 3.474 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/10.42, allocations: 375.9 kB / 3.474 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/10.43, allocations: 327.4 kB / 3.474 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/10.43, allocations: 3.938 kB / 3.474 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003465/10.43, allocations: 0.8385 MB / 3.475 GB, free: 34.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009405/10.43, allocations: 2.182 MB / 3.477 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/10.43, allocations: 11.34 kB / 3.477 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001874/10.43, allocations: 286.3 kB / 3.477 GB, free: 31.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009849/10.43, allocations: 142 kB / 3.478 GB, free: 31.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/10.44, allocations: 0.946 MB / 3.479 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/10.44, allocations: 83.98 kB / 3.479 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/10.44, allocations: 34.56 kB / 3.479 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/10.44, allocations: 9.562 kB / 3.479 GB, free: 31.19 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002814/10.44, allocations: 0.6988 MB / 3.479 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/10.44, allocations: 8 kB / 3.479 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/10.44, allocations: 263.9 kB / 3.48 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/10.44, allocations: 145.7 kB / 3.48 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/10.44, allocations: 0.8546 MB / 3.481 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/10.45, allocations: 78.28 kB / 3.481 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.25e-05/10.45, allocations: 34.33 kB / 3.481 GB, free: 29.72 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.0003049/10.45, allocations: 126.4 kB / 3.481 GB, free: 29.6 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002442/10.45, allocations: 0.567 MB / 3.481 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/10.45, allocations: 55.34 kB / 3.481 GB, free: 29.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00473/10.45, allocations: 2.619 MB / 3.484 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.492e-05/10.45, allocations: 49.02 kB / 3.484 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/10.45, allocations: 0 / 3.484 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/10.45, allocations: 4.969 kB / 3.484 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/10.46, allocations: 3.569 MB / 3.488 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/10.46, allocations: 0 / 3.488 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/10.46, allocations: 168.5 kB / 3.488 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00038/10.46, allocations: 73.34 kB / 3.488 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/10.46, allocations: 8.062 kB / 3.488 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/10.46, allocations: 1.203 MB / 3.489 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/10.46, allocations: 3.953 kB / 3.489 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004717/10.47, allocations: 2.256 MB / 3.491 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007291/10.47, allocations: 310.6 kB / 3.491 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/10.47, allocations: 7.938 kB / 3.491 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000983/10.47, allocations: 58.31 kB / 3.491 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/10.47, allocations: 58.78 kB / 3.492 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/10.47, allocations: 23.7 kB / 3.492 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006537/10.47, allocations: 368.4 kB / 3.492 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/10.47, allocations: 0 / 3.492 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006508/10.48, allocations: 1.332 MB / 3.493 GB, free: 21.11 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: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse16.phase,$cse16.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 (65): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.01505/10.49, allocations: 4.518 MB / 3.498 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003139/10.5, allocations: 1.205 MB / 3.499 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/10.5, allocations: 0 / 3.499 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/10.5, allocations: 0.7558 MB / 3.5 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/10.5, allocations: 273.2 kB / 3.5 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5481/11.05, allocations: 55.87 MB / 3.554 GB, free: 82.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/11.05, allocations: 1.146 MB / 3.555 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002003/11.05, allocations: 0.6808 MB / 3.556 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007421/11.05, allocations: 429.6 kB / 3.557 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.333e-06/11.05, allocations: 0 / 3.557 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1495/11.2, allocations: 50.01 MB / 3.605 GB, free: 79.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/11.2, allocations: 204.6 kB / 3.606 GB, free: 79.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.774/15.98, allocations: 4 kB / 3.606 GB, free: 79.12 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