Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.469e-05, allocations: 0 / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 48.71 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.521/7.627, allocations: 2.502 GB / 2.811 GB, free: 92.58 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/7.628, allocations: 87.81 kB / 2.811 GB, free: 92.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.136/9.763, allocations: 422.4 MB / 3.223 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.543e-06/9.763, allocations: 3.938 kB / 3.223 GB, free: 14.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.065e-05/9.763, allocations: 23.91 kB / 3.223 GB, free: 14.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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00819/9.772, allocations: 1.729 MB / 3.225 GB, free: 12.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/9.772, allocations: 8.031 kB / 3.225 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003565/9.775, allocations: 318.8 kB / 3.225 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/9.777, allocations: 0.5914 MB / 3.226 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/9.777, allocations: 20 kB / 3.226 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/9.777, allocations: 35.98 kB / 3.226 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001657/9.779, allocations: 0.5578 MB / 3.227 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/9.781, allocations: 0.6783 MB / 3.227 GB, free: 9.941 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/9.781, allocations: 3.938 kB / 3.227 GB, free: 9.938 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.722e-05/9.781, allocations: 4 kB / 3.227 GB, free: 9.934 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/9.781, allocations: 21.31 kB / 3.227 GB, free: 9.91 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.5448/10.33, allocations: 36.63 MB / 3.263 GB, free: 31.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/10.33, allocations: 443.6 kB / 3.264 GB, free: 31.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/10.33, allocations: 206.9 kB / 3.264 GB, free: 31.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05807/10.39, allocations: 20.01 MB / 3.283 GB, free: 34.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/10.39, allocations: 34 kB / 3.283 GB, free: 34.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=43): time 3.446e-06/10.39, allocations: 3.812 kB / 3.283 GB, free: 34.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=63): time 0.0426/10.43, allocations: 3.612 MB / 3.287 GB, free: 33.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/10.43, allocations: 110.7 kB / 3.287 GB, free: 33.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/10.43, allocations: 423.6 kB / 3.287 GB, free: 33.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001511/10.43, allocations: 29.03 kB / 3.287 GB, free: 33.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/10.43, allocations: 356.3 kB / 3.288 GB, free: 33.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/10.43, allocations: 212.9 kB / 3.288 GB, free: 33.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.314e-05/10.43, allocations: 0 / 3.288 GB, free: 33.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001978/10.43, allocations: 374.3 kB / 3.288 GB, free: 32.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007608/10.43, allocations: 328.2 kB / 3.289 GB, free: 32.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/10.43, allocations: 0.5291 MB / 3.289 GB, free: 32.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/10.44, allocations: 0.544 MB / 3.29 GB, free: 32.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/10.44, allocations: 7.875 kB / 3.29 GB, free: 32.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005482/10.44, allocations: 1.326 MB / 3.291 GB, free: 32.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001075/10.44, allocations: 2.442 MB / 3.293 GB, free: 30.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/10.44, allocations: 5.188 kB / 3.293 GB, free: 30.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005506/10.45, allocations: 0.8137 MB / 3.294 GB, free: 30.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/10.45, allocations: 165.2 kB / 3.294 GB, free: 30.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004826/10.45, allocations: 1.968 MB / 3.296 GB, free: 28.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/10.46, allocations: 124.1 kB / 3.296 GB, free: 28.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/10.46, allocations: 53.52 kB / 3.296 GB, free: 28.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/10.46, allocations: 7.641 kB / 3.296 GB, free: 28.94 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004523/10.46, allocations: 0.9646 MB / 3.297 GB, free: 28.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/10.46, allocations: 8.156 kB / 3.297 GB, free: 28.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/10.46, allocations: 366 kB / 3.298 GB, free: 28.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/10.46, allocations: 203.9 kB / 3.298 GB, free: 28.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/10.47, allocations: 1.476 MB / 3.299 GB, free: 27.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/10.47, allocations: 95.11 kB / 3.299 GB, free: 27.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/10.47, allocations: 45.75 kB / 3.299 GB, free: 27.8 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (69): * Single equations (assignments): 67 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004859/10.47, allocations: 144.7 kB / 3.3 GB, free: 27.68 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004858/10.47, allocations: 1.056 MB / 3.301 GB, free: 27.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/10.48, allocations: 70.41 kB / 3.301 GB, free: 27.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007998/10.48, allocations: 3.44 MB / 3.304 GB, free: 27.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-05/10.48, allocations: 47.98 kB / 3.304 GB, free: 27.28 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/10.48, allocations: 1.969 kB / 3.304 GB, free: 27.28 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/10.48, allocations: 7.75 kB / 3.304 GB, free: 27.28 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009838/10.49, allocations: 4.626 MB / 3.309 GB, free: 26.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/10.49, allocations: 9.266 kB / 3.309 GB, free: 26.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006639/10.49, allocations: 84.48 kB / 3.309 GB, free: 26.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00583/10.5, allocations: 1.715 MB / 3.31 GB, free: 26.76 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/10.5, allocations: 15.12 kB / 3.31 GB, free: 26.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/10.5, allocations: 2.809 MB / 3.313 GB, free: 25.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/10.5, allocations: 0 / 3.313 GB, free: 25.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006211/10.51, allocations: 2.586 MB / 3.316 GB, free: 25.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008123/10.51, allocations: 311.8 kB / 3.316 GB, free: 25.19 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/10.51, allocations: 7.281 kB / 3.316 GB, free: 25.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/10.51, allocations: 101.4 kB / 3.316 GB, free: 25.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/10.51, allocations: 53.62 kB / 3.316 GB, free: 25.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/10.51, allocations: 34.8 kB / 3.316 GB, free: 25.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006382/10.51, allocations: 362.6 kB / 3.317 GB, free: 25.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.683e-06/10.51, allocations: 0 / 3.317 GB, free: 25.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007621/10.52, allocations: 1.515 MB / 3.318 GB, free: 25.09 MB / 458.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: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02188/10.54, allocations: 4.788 MB / 3.323 GB, free: 24.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007554/10.55, allocations: 1.712 MB / 3.324 GB, free: 23.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/10.55, allocations: 1.438 kB / 3.324 GB, free: 23.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00269/10.55, allocations: 0.9623 MB / 3.325 GB, free: 23.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/10.56, allocations: 262.3 kB / 3.326 GB, free: 23.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/10.57, allocations: 2.421 MB / 3.328 GB, free: 23.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/10.57, allocations: 1.136 MB / 3.329 GB, free: 22.69 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002998/10.57, allocations: 0.7491 MB / 3.33 GB, free: 22.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/10.57, allocations: 383 kB / 3.33 GB, free: 22.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/10.57, allocations: 4 kB / 3.33 GB, free: 22.64 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1804/10.75, allocations: 57.4 MB / 3.386 GB, free: 9.941 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/10.75, allocations: 195.3 kB / 3.386 GB, free: 9.746 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.266/16.02, allocations: 3.5 kB / 3.386 GB, free: 9.746 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat