Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.551e-05/4.558e-05, allocations: 5.547 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.52/7.63, allocations: 2.485 GB / 2.799 GB, free: 81.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/7.631, allocations: 83.64 kB / 2.799 GB, free: 81.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.047/9.678, allocations: 407.4 MB / 3.197 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.684e-06/9.678, allocations: 0 / 3.197 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.684e-05/9.678, allocations: 16 kB / 3.197 GB, free: 0.8633 MB / 426.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.007586/9.686, allocations: 1.598 MB / 3.199 GB, free: 15.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/9.686, allocations: 12.03 kB / 3.199 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002581/9.686, allocations: 98.84 kB / 3.199 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/9.689, allocations: 293.6 kB / 3.199 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/9.691, allocations: 0.5348 MB / 3.2 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.541e-05/9.691, allocations: 56.42 kB / 3.2 GB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/9.691, allocations: 48 kB / 3.2 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/9.695, allocations: 0.9391 MB / 3.201 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/9.695, allocations: 0 / 3.201 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/9.695, allocations: 31.95 kB / 3.201 GB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/9.695, allocations: 21 kB / 3.201 GB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003205/9.698, allocations: 0.7669 MB / 3.202 GB, free: 12.34 MB / 442.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.008218/9.707, allocations: 4.55 MB / 3.206 GB, free: 7.398 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003052/9.71, allocations: 0.663 MB / 3.207 GB, free: 6.727 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/9.71, allocations: 204.8 kB / 3.207 GB, free: 6.523 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4074/10.12, allocations: 21.39 MB / 3.228 GB, free: 39.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/10.12, allocations: 39.44 kB / 3.228 GB, free: 39.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 5.711e-06/10.12, allocations: 0 / 3.228 GB, free: 39.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01684/10.13, allocations: 2.774 MB / 3.231 GB, free: 39.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/10.13, allocations: 118.1 kB / 3.231 GB, free: 39.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/10.14, allocations: 371.7 kB / 3.231 GB, free: 38.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/10.14, allocations: 36.33 kB / 3.231 GB, free: 38.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/10.14, allocations: 335.9 kB / 3.231 GB, free: 38.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/10.14, allocations: 196.4 kB / 3.232 GB, free: 38.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/10.14, allocations: 12.53 kB / 3.232 GB, free: 38.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/10.14, allocations: 368.6 kB / 3.232 GB, free: 38.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/10.14, allocations: 219 kB / 3.232 GB, free: 38.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007408/10.14, allocations: 427.8 kB / 3.233 GB, free: 38.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/10.14, allocations: 277.1 kB / 3.233 GB, free: 38.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/10.14, allocations: 4.266 kB / 3.233 GB, free: 38.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004009/10.14, allocations: 0.9435 MB / 3.234 GB, free: 37.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005/10.14, allocations: 2.353 MB / 3.236 GB, free: 35.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/10.14, allocations: 6.906 kB / 3.236 GB, free: 35.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003515/10.15, allocations: 435.6 kB / 3.236 GB, free: 35.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/10.15, allocations: 144.3 kB / 3.237 GB, free: 35.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/10.15, allocations: 1.476 MB / 3.238 GB, free: 34.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/10.15, allocations: 86.56 kB / 3.238 GB, free: 34.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/10.15, allocations: 40.33 kB / 3.238 GB, free: 34.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/10.15, allocations: 3.219 kB / 3.238 GB, free: 34.47 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003742/10.16, allocations: 0.8587 MB / 3.239 GB, free: 34.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/10.16, allocations: 11.59 kB / 3.239 GB, free: 34.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/10.16, allocations: 392.9 kB / 3.239 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/10.16, allocations: 145.4 kB / 3.239 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/10.16, allocations: 1.451 MB / 3.241 GB, free: 33.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/10.16, allocations: 88.17 kB / 3.241 GB, free: 33.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/10.16, allocations: 37.2 kB / 3.241 GB, free: 33.38 MB / 442.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.0003142/10.16, allocations: 147 kB / 3.241 GB, free: 33.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/10.16, allocations: 62.98 kB / 3.241 GB, free: 33.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007099/10.17, allocations: 3.561 MB / 3.245 GB, free: 32.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-05/10.17, allocations: 43.39 kB / 3.245 GB, free: 32.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/10.17, allocations: 3.875 kB / 3.245 GB, free: 32.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/10.17, allocations: 6.953 kB / 3.245 GB, free: 32.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007901/10.18, allocations: 4.571 MB / 3.249 GB, free: 32.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/10.18, allocations: 6.312 kB / 3.249 GB, free: 32.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/10.18, allocations: 114.9 kB / 3.249 GB, free: 32.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/10.18, allocations: 0.9834 MB / 3.25 GB, free: 32.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/10.18, allocations: 23.17 kB / 3.25 GB, free: 32.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/10.19, allocations: 1.973 MB / 3.252 GB, free: 31.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/10.19, allocations: 0 / 3.252 GB, free: 31.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/10.19, allocations: 2.095 MB / 3.254 GB, free: 30.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006863/10.19, allocations: 319.8 kB / 3.255 GB, free: 30.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/10.19, allocations: 10.66 kB / 3.255 GB, free: 30.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/10.19, allocations: 95.81 kB / 3.255 GB, free: 30.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/10.19, allocations: 58.41 kB / 3.255 GB, free: 30.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/10.19, allocations: 30.8 kB / 3.255 GB, free: 30.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006227/10.19, allocations: 381.7 kB / 3.255 GB, free: 30.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/10.19, allocations: 0 / 3.255 GB, free: 30.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00734/10.2, allocations: 1.399 MB / 3.257 GB, free: 30.66 MB / 442.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.01498/10.21, allocations: 4.139 MB / 3.261 GB, free: 29.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004729/10.22, allocations: 1.518 MB / 3.262 GB, free: 29.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/10.22, allocations: 0 / 3.262 GB, free: 29.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001841/10.22, allocations: 0.8971 MB / 3.263 GB, free: 29.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/10.22, allocations: 270.7 kB / 3.263 GB, free: 29.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2459/10.47, allocations: 76.34 MB / 3.338 GB, free: 20.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/10.47, allocations: 1.165 MB / 3.339 GB, free: 19.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001969/10.47, allocations: 0.6869 MB / 3.34 GB, free: 19.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/10.47, allocations: 399.2 kB / 3.34 GB, free: 19.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.393e-06/10.47, allocations: 0 / 3.34 GB, free: 19.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4944/10.97, allocations: 59.79 MB / 3.398 GB, free: 61.17 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003007/10.97, allocations: 237.8 kB / 3.399 GB, free: 60.85 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.242/16.21, allocations: 5.281 kB / 3.399 GB, free: 60.84 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat