Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.913/1.913, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.329e-05, allocations: 4 kB / 267.6 MB, free: 4.926 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 48.7 MB / 316.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.586/7.708, allocations: 2.502 GB / 2.81 GB, free: 92.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/7.709, allocations: 87.19 kB / 2.811 GB, free: 92.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.03/9.739, allocations: 422 MB / 3.223 GB, free: 14.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.074e-06/9.739, allocations: 0 / 3.223 GB, free: 14.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.619e-05/9.739, allocations: 22.11 kB / 3.223 GB, free: 14.36 MB / 442.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.008298/9.747, allocations: 1.708 MB / 3.224 GB, free: 12.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/9.747, allocations: 8.031 kB / 3.224 GB, free: 12.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/9.751, allocations: 314.8 kB / 3.225 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/9.752, allocations: 0.581 MB / 3.225 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/9.752, allocations: 24 kB / 3.225 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/9.753, allocations: 32 kB / 3.225 GB, free: 11.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001558/9.754, allocations: 0.5421 MB / 3.226 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/9.756, allocations: 0.654 MB / 3.226 GB, free: 10.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/9.756, allocations: 0 / 3.226 GB, free: 10.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-05/9.756, allocations: 4 kB / 3.226 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/9.756, allocations: 21.31 kB / 3.226 GB, free: 10.35 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.01581/9.772, allocations: 7.015 MB / 3.233 GB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/9.773, allocations: 399.5 kB / 3.234 GB, free: 2.242 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/9.773, allocations: 207.2 kB / 3.234 GB, free: 2.039 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6151/10.39, allocations: 78.02 MB / 3.31 GB, free: 20.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/10.39, allocations: 38.5 kB / 3.31 GB, free: 20.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=46): time 2.855e-06/10.39, allocations: 0 / 3.31 GB, free: 20.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=50): time 0.009125/10.4, allocations: 1.784 MB / 3.312 GB, free: 19.83 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/10.4, allocations: 107 kB / 3.312 GB, free: 19.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006768/10.4, allocations: 389.6 kB / 3.312 GB, free: 19.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/10.4, allocations: 25.7 kB / 3.312 GB, free: 19.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/10.4, allocations: 348.9 kB / 3.313 GB, free: 19.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/10.4, allocations: 172.3 kB / 3.313 GB, free: 19.31 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/10.4, allocations: 4 kB / 3.313 GB, free: 19.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/10.4, allocations: 362.8 kB / 3.313 GB, free: 18.99 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/10.4, allocations: 184.3 kB / 3.313 GB, free: 18.99 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/10.4, allocations: 379.2 kB / 3.314 GB, free: 18.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/10.4, allocations: 320.4 kB / 3.314 GB, free: 18.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/10.4, allocations: 2.688 kB / 3.314 GB, free: 18.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00371/10.41, allocations: 0.8731 MB / 3.315 GB, free: 18.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009533/10.41, allocations: 2.358 MB / 3.317 GB, free: 16.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/10.41, allocations: 5.969 kB / 3.317 GB, free: 16.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/10.41, allocations: 311.4 kB / 3.318 GB, free: 16.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009797/10.41, allocations: 137.6 kB / 3.318 GB, free: 16.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/10.41, allocations: 0.9521 MB / 3.319 GB, free: 31.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/10.41, allocations: 84.75 kB / 3.319 GB, free: 31.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/10.41, allocations: 41.22 kB / 3.319 GB, free: 31.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/10.41, allocations: 0 / 3.319 GB, free: 31.63 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003213/10.42, allocations: 0.7253 MB / 3.319 GB, free: 31.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/10.42, allocations: 9.031 kB / 3.319 GB, free: 31.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/10.42, allocations: 262.1 kB / 3.32 GB, free: 31.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/10.42, allocations: 157.1 kB / 3.32 GB, free: 31.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/10.42, allocations: 0.8319 MB / 3.321 GB, free: 31.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/10.42, allocations: 71.5 kB / 3.321 GB, free: 31.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/10.42, allocations: 38.94 kB / 3.321 GB, free: 31.04 MB / 474.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 (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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003107/10.42, allocations: 123.8 kB / 3.321 GB, free: 30.93 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002384/10.43, allocations: 0.5566 MB / 3.321 GB, free: 30.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/10.43, allocations: 63.69 kB / 3.321 GB, free: 30.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/10.43, allocations: 2.247 MB / 3.324 GB, free: 30.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-05/10.43, allocations: 32.3 kB / 3.324 GB, free: 30.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/10.43, allocations: 0.75 kB / 3.324 GB, free: 30.55 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/10.43, allocations: 3.469 kB / 3.324 GB, free: 30.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005652/10.44, allocations: 3.075 MB / 3.327 GB, free: 30.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/10.44, allocations: 2.406 kB / 3.327 GB, free: 30.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/10.44, allocations: 145 kB / 3.327 GB, free: 30.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/10.44, allocations: 92.14 kB / 3.327 GB, free: 30.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/10.44, allocations: 11.25 kB / 3.327 GB, free: 30.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/10.44, allocations: 1.16 MB / 3.328 GB, free: 29.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/10.44, allocations: 0 / 3.328 GB, free: 29.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003755/10.44, allocations: 1.848 MB / 3.33 GB, free: 28.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007226/10.44, allocations: 340.4 kB / 3.33 GB, free: 28.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/10.44, allocations: 0 / 3.33 GB, free: 28.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009026/10.44, allocations: 55.14 kB / 3.33 GB, free: 28.67 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/10.44, allocations: 58.97 kB / 3.33 GB, free: 28.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/10.44, allocations: 22.16 kB / 3.33 GB, free: 28.67 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007636/10.45, allocations: 436.3 kB / 3.331 GB, free: 28.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/10.45, allocations: 0 / 3.331 GB, free: 28.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006934/10.45, allocations: 1.339 MB / 3.332 GB, free: 28.57 MB / 474.7 MB 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: 17 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.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 (58): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01627/10.47, allocations: 4.097 MB / 3.336 GB, free: 27.63 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003032/10.47, allocations: 1.094 MB / 3.337 GB, free: 27.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/10.47, allocations: 0 / 3.337 GB, free: 27.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/10.47, allocations: 0.5836 MB / 3.338 GB, free: 27.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/10.48, allocations: 271.2 kB / 3.338 GB, free: 27.58 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6146/11.09, allocations: 86.18 MB / 3.422 GB, free: 75.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/11.09, allocations: 1.118 MB / 3.423 GB, free: 75.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00233/11.09, allocations: 0.6694 MB / 3.424 GB, free: 75.03 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007716/11.09, allocations: 408.3 kB / 3.424 GB, free: 75.03 MB / 474.7 MB Notification: Performance of SimCode: time 1.583e-06/11.09, allocations: 0 / 3.424 GB, free: 75.03 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/11.23, allocations: 49.13 MB / 3.472 GB, free: 74.02 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/11.23, allocations: 201.1 kB / 3.472 GB, free: 73.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.687/15.92, allocations: 0 / 3.472 GB, free: 73.82 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat