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.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.142e-05/4.151e-05, allocations: 5.547 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.64/7.746, allocations: 2.502 GB / 2.816 GB, free: 59.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/7.747, allocations: 82.2 kB / 2.816 GB, free: 59.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.347/10.09, allocations: 426 MB / 3.232 GB, free: 46.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.234e-06/10.09, allocations: 0 / 3.232 GB, free: 46.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.874e-05/10.09, allocations: 21.09 kB / 3.232 GB, free: 46.73 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.008296/10.1, allocations: 1.693 MB / 3.234 GB, free: 46.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/10.1, allocations: 13.47 kB / 3.234 GB, free: 46.06 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002148/10.1, allocations: 99.27 kB / 3.234 GB, free: 46.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00349/10.11, allocations: 315.9 kB / 3.235 GB, free: 45.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/10.11, allocations: 0.5847 MB / 3.235 GB, free: 45.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/10.11, allocations: 51.42 kB / 3.235 GB, free: 45.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/10.11, allocations: 57.28 kB / 3.235 GB, free: 45.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/10.11, allocations: 0.95 MB / 3.236 GB, free: 45.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/10.11, allocations: 7.609 kB / 3.236 GB, free: 45.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/10.11, allocations: 26.89 kB / 3.236 GB, free: 45.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/10.11, allocations: 22.22 kB / 3.236 GB, free: 45.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/10.11, allocations: 0.7917 MB / 3.237 GB, free: 45.55 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.00629/10.12, allocations: 4.329 MB / 3.241 GB, free: 42.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/10.12, allocations: 0.6942 MB / 3.242 GB, free: 42.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/10.12, allocations: 214.1 kB / 3.242 GB, free: 42.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2835/10.41, allocations: 79.41 MB / 3.32 GB, free: 30.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/10.41, allocations: 41.41 kB / 3.32 GB, free: 30.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 3.026e-06/10.41, allocations: 0 / 3.32 GB, free: 30.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.007129/10.41, allocations: 1.828 MB / 3.321 GB, free: 29.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/10.41, allocations: 112.5 kB / 3.322 GB, free: 29.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007156/10.41, allocations: 414.7 kB / 3.322 GB, free: 29.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/10.41, allocations: 32.58 kB / 3.322 GB, free: 29.65 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/10.41, allocations: 347.6 kB / 3.322 GB, free: 29.46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/10.41, allocations: 183.5 kB / 3.323 GB, free: 29.35 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/10.41, allocations: 10.56 kB / 3.323 GB, free: 29.35 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/10.42, allocations: 368 kB / 3.323 GB, free: 29.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/10.42, allocations: 184.9 kB / 3.323 GB, free: 29.04 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006013/10.42, allocations: 394.3 kB / 3.323 GB, free: 28.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000572/10.42, allocations: 243.9 kB / 3.324 GB, free: 28.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/10.42, allocations: 0 / 3.324 GB, free: 28.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002565/10.42, allocations: 0.8189 MB / 3.324 GB, free: 28.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000928/10.42, allocations: 2.351 MB / 3.327 GB, free: 26.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/10.42, allocations: 3.719 kB / 3.327 GB, free: 26.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/10.42, allocations: 399.4 kB / 3.327 GB, free: 26.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/10.42, allocations: 147.3 kB / 3.327 GB, free: 26.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/10.43, allocations: 0.8719 MB / 3.328 GB, free: 25.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/10.43, allocations: 87.08 kB / 3.328 GB, free: 25.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/10.43, allocations: 38.73 kB / 3.328 GB, free: 25.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/10.43, allocations: 2.469 kB / 3.328 GB, free: 25.66 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002116/10.43, allocations: 0.6966 MB / 3.329 GB, free: 25.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/10.43, allocations: 9.25 kB / 3.329 GB, free: 25.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/10.43, allocations: 291.2 kB / 3.329 GB, free: 25.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009527/10.43, allocations: 150.9 kB / 3.329 GB, free: 25.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/10.43, allocations: 0.8066 MB / 3.33 GB, free: 25.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/10.43, allocations: 99.91 kB / 3.33 GB, free: 25.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.809e-05/10.43, allocations: 35.5 kB / 3.33 GB, free: 25.07 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.0002951/10.43, allocations: 149.5 kB / 3.33 GB, free: 24.96 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/10.44, allocations: 61.88 kB / 3.33 GB, free: 24.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/10.44, allocations: 2.651 MB / 3.333 GB, free: 24.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.444e-05/10.44, allocations: 34.38 kB / 3.333 GB, free: 24.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/10.44, allocations: 0 / 3.333 GB, free: 24.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/10.44, allocations: 7.688 kB / 3.333 GB, free: 24.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005366/10.44, allocations: 3.646 MB / 3.337 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/10.44, allocations: 0 / 3.337 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/10.45, allocations: 146.9 kB / 3.337 GB, free: 24.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005283/10.45, allocations: 101.7 kB / 3.337 GB, free: 24.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/10.45, allocations: 15.72 kB / 3.337 GB, free: 24.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/10.45, allocations: 1.134 MB / 3.338 GB, free: 23.06 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/10.45, allocations: 6.234 kB / 3.338 GB, free: 23.06 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/10.45, allocations: 2.079 MB / 3.34 GB, free: 22.78 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006022/10.45, allocations: 349.9 kB / 3.34 GB, free: 22.58 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/10.45, allocations: 15.25 kB / 3.34 GB, free: 22.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008974/10.45, allocations: 67.89 kB / 3.34 GB, free: 22.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/10.45, allocations: 48.58 kB / 3.341 GB, free: 22.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/10.45, allocations: 19.77 kB / 3.341 GB, free: 22.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007452/10.45, allocations: 447.3 kB / 3.341 GB, free: 22.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/10.45, allocations: 0 / 3.341 GB, free: 22.47 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006731/10.46, allocations: 1.389 MB / 3.342 GB, free: 22.28 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$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 (62): * Single equations (assignments): 50 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01364/10.47, allocations: 4.271 MB / 3.346 GB, free: 21.17 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003285/10.48, allocations: 1.195 MB / 3.348 GB, free: 21.13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/10.48, allocations: 1.75 kB / 3.348 GB, free: 21.13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/10.48, allocations: 0.6732 MB / 3.348 GB, free: 21.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/10.48, allocations: 295.9 kB / 3.349 GB, free: 21.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6915/11.17, allocations: 122.2 MB / 3.468 GB, free: 70.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000627/11.17, allocations: 1.153 MB / 3.469 GB, free: 70.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00186/11.18, allocations: 0.6451 MB / 3.47 GB, free: 70.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/11.18, allocations: 446.8 kB / 3.47 GB, free: 70.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.142e-06/11.18, allocations: 0 / 3.47 GB, free: 70.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/11.31, allocations: 57.85 MB / 3.527 GB, free: 45.57 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002785/11.31, allocations: 250.2 kB / 3.527 GB, free: 45.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.008/16.32, allocations: 8.062 kB / 3.527 GB, free: 45.23 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