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.888/1.888, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.455e-05/4.456e-05, allocations: 5.547 kB / 273.2 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.696/7.798, allocations: 2.502 GB / 2.816 GB, free: 60.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/7.798, allocations: 82.27 kB / 2.816 GB, free: 60.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.328/10.13, allocations: 426 MB / 3.232 GB, free: 47.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.713e-06/10.13, allocations: 2.906 kB / 3.232 GB, free: 47.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.889e-05/10.13, allocations: 19.7 kB / 3.232 GB, free: 47.01 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.00773/10.13, allocations: 1.697 MB / 3.234 GB, free: 46.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/10.13, allocations: 13.59 kB / 3.234 GB, free: 46.32 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/10.13, allocations: 102.8 kB / 3.234 GB, free: 46.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/10.14, allocations: 312.4 kB / 3.235 GB, free: 46.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/10.14, allocations: 0.5793 MB / 3.235 GB, free: 46.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/10.14, allocations: 53.73 kB / 3.235 GB, free: 46.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/10.14, allocations: 58.06 kB / 3.235 GB, free: 46.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/10.14, allocations: 0.9538 MB / 3.236 GB, free: 45.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/10.14, allocations: 14.94 kB / 3.236 GB, free: 45.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/10.14, allocations: 29.05 kB / 3.236 GB, free: 45.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/10.14, allocations: 22.8 kB / 3.236 GB, free: 45.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/10.15, allocations: 0.7963 MB / 3.237 GB, free: 45.81 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.006069/10.15, allocations: 4.338 MB / 3.241 GB, free: 42.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/10.15, allocations: 0.6941 MB / 3.242 GB, free: 42.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/10.15, allocations: 216.5 kB / 3.242 GB, free: 42.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2824/10.44, allocations: 79.42 MB / 3.32 GB, free: 30.63 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/10.44, allocations: 41.91 kB / 3.32 GB, free: 30.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 2.585e-06/10.44, allocations: 0 / 3.32 GB, free: 30.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.006907/10.44, allocations: 1.829 MB / 3.321 GB, free: 30.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/10.44, allocations: 112 kB / 3.322 GB, free: 30.04 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006846/10.45, allocations: 417.4 kB / 3.322 GB, free: 29.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/10.45, allocations: 31.48 kB / 3.322 GB, free: 29.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/10.45, allocations: 345.3 kB / 3.322 GB, free: 29.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/10.45, allocations: 181.4 kB / 3.322 GB, free: 29.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/10.45, allocations: 12.56 kB / 3.323 GB, free: 29.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/10.45, allocations: 366.2 kB / 3.323 GB, free: 29.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/10.45, allocations: 188.9 kB / 3.323 GB, free: 29.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/10.45, allocations: 393.8 kB / 3.323 GB, free: 29.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/10.45, allocations: 244.4 kB / 3.324 GB, free: 29.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/10.45, allocations: 0 / 3.324 GB, free: 29.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002518/10.45, allocations: 0.8384 MB / 3.324 GB, free: 28.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001052/10.45, allocations: 2.348 MB / 3.327 GB, free: 26.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/10.45, allocations: 12.66 kB / 3.327 GB, free: 26.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/10.45, allocations: 395.3 kB / 3.327 GB, free: 26.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009179/10.46, allocations: 142 kB / 3.327 GB, free: 26.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/10.46, allocations: 0.8772 MB / 3.328 GB, free: 25.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/10.46, allocations: 89.59 kB / 3.328 GB, free: 25.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.174e-05/10.46, allocations: 41.5 kB / 3.328 GB, free: 25.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/10.46, allocations: 3.25 kB / 3.328 GB, free: 25.9 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002136/10.46, allocations: 0.7102 MB / 3.329 GB, free: 25.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/10.46, allocations: 6.781 kB / 3.329 GB, free: 25.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/10.46, allocations: 289.1 kB / 3.329 GB, free: 25.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009066/10.46, allocations: 148.2 kB / 3.329 GB, free: 25.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/10.46, allocations: 0.8122 MB / 3.33 GB, free: 25.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/10.47, allocations: 88.91 kB / 3.33 GB, free: 25.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/10.47, allocations: 37.03 kB / 3.33 GB, free: 25.31 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.0002812/10.47, allocations: 150.6 kB / 3.33 GB, free: 25.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/10.47, allocations: 62.28 kB / 3.33 GB, free: 25.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/10.47, allocations: 2.653 MB / 3.333 GB, free: 24.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.155e-05/10.47, allocations: 34.39 kB / 3.333 GB, free: 24.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/10.47, allocations: 0 / 3.333 GB, free: 24.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/10.47, allocations: 7.406 kB / 3.333 GB, free: 24.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005445/10.48, allocations: 3.655 MB / 3.337 GB, free: 24.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/10.48, allocations: 0 / 3.337 GB, free: 24.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/10.48, allocations: 150 kB / 3.337 GB, free: 24.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/10.48, allocations: 96.23 kB / 3.337 GB, free: 24.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/10.48, allocations: 17.89 kB / 3.337 GB, free: 24.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/10.48, allocations: 1.14 MB / 3.338 GB, free: 23.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/10.48, allocations: 0 / 3.338 GB, free: 23.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/10.48, allocations: 2.084 MB / 3.34 GB, free: 23.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/10.48, allocations: 346.9 kB / 3.34 GB, free: 22.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/10.48, allocations: 10.28 kB / 3.34 GB, free: 22.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/10.48, allocations: 68.34 kB / 3.341 GB, free: 22.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/10.48, allocations: 51.38 kB / 3.341 GB, free: 22.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/10.48, allocations: 21.5 kB / 3.341 GB, free: 22.81 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007547/10.48, allocations: 449.2 kB / 3.341 GB, free: 22.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.61e-07/10.48, allocations: 0 / 3.341 GB, free: 22.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00694/10.49, allocations: 1.385 MB / 3.342 GB, free: 22.52 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.01407/10.51, allocations: 4.258 MB / 3.347 GB, free: 21.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003369/10.51, allocations: 1.219 MB / 3.348 GB, free: 21.37 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/10.51, allocations: 3.438 kB / 3.348 GB, free: 21.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/10.51, allocations: 0.6673 MB / 3.348 GB, free: 21.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/10.51, allocations: 298.3 kB / 3.349 GB, free: 21.35 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6763/11.19, allocations: 122.4 MB / 3.468 GB, free: 71.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/11.19, allocations: 1.154 MB / 3.469 GB, free: 70.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001911/11.19, allocations: 0.6529 MB / 3.47 GB, free: 70.51 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000694/11.19, allocations: 444 kB / 3.47 GB, free: 70.51 MB / 474.7 MB Notification: Performance of SimCode: time 1.633e-06/11.19, allocations: 0 / 3.47 GB, free: 70.51 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1325/11.33, allocations: 57.76 MB / 3.527 GB, free: 46.88 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/11.33, allocations: 250.4 kB / 3.527 GB, free: 46.54 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.037/16.36, allocations: 4 kB / 3.527 GB, free: 46.53 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