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.977/1.977, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.927e-05, allocations: 0 / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 48.7 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.513/7.616, allocations: 2.485 GB / 2.793 GB, free: 105.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/7.616, allocations: 92.17 kB / 2.794 GB, free: 105.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.15/9.766, allocations: 403.4 MB / 3.188 GB, free: 36.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/9.766, allocations: 0 / 3.188 GB, free: 36.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.201e-05/9.767, allocations: 17.91 kB / 3.188 GB, free: 36.38 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.007431/9.774, allocations: 1.603 MB / 3.189 GB, free: 35.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/9.774, allocations: 9.281 kB / 3.189 GB, free: 35.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/9.777, allocations: 290.3 kB / 3.189 GB, free: 35.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/9.779, allocations: 0.5447 MB / 3.19 GB, free: 34.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/9.779, allocations: 23.81 kB / 3.19 GB, free: 34.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-05/9.779, allocations: 34.53 kB / 3.19 GB, free: 34.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001319/9.781, allocations: 0.5047 MB / 3.19 GB, free: 34.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/9.782, allocations: 0.6282 MB / 3.191 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/9.782, allocations: 3.953 kB / 3.191 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/9.782, allocations: 7.844 kB / 3.191 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.784e-05/9.782, allocations: 27.33 kB / 3.191 GB, free: 34.43 MB / 426.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.1283/9.911, allocations: 36.43 MB / 3.227 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/9.912, allocations: 371.7 kB / 3.227 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/9.912, allocations: 193.4 kB / 3.227 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3908/10.3, allocations: 19.99 MB / 3.247 GB, free: 55.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/10.3, allocations: 37.12 kB / 3.247 GB, free: 55.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 3.958e-06/10.3, allocations: 1.906 kB / 3.247 GB, free: 55.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=53): time 0.01438/10.32, allocations: 2.342 MB / 3.249 GB, free: 54.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/10.32, allocations: 109 kB / 3.249 GB, free: 54.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007649/10.32, allocations: 371 kB / 3.25 GB, free: 54.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001382/10.32, allocations: 27.39 kB / 3.25 GB, free: 54.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/10.32, allocations: 337.8 kB / 3.25 GB, free: 54.47 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/10.32, allocations: 175.1 kB / 3.25 GB, free: 54.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/10.32, allocations: 3.062 kB / 3.25 GB, free: 54.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/10.32, allocations: 365.1 kB / 3.25 GB, free: 54.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/10.32, allocations: 218.2 kB / 3.251 GB, free: 54.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/10.32, allocations: 416.1 kB / 3.251 GB, free: 53.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/10.32, allocations: 381.3 kB / 3.251 GB, free: 53.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/10.32, allocations: 1.281 kB / 3.251 GB, free: 53.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.005097/10.33, allocations: 1.008 MB / 3.252 GB, free: 53.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006732/10.33, allocations: 2.358 MB / 3.255 GB, free: 51.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/10.33, allocations: 7.75 kB / 3.255 GB, free: 51.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003697/10.33, allocations: 418.4 kB / 3.255 GB, free: 51.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/10.33, allocations: 146.1 kB / 3.255 GB, free: 51.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/10.34, allocations: 1.551 MB / 3.257 GB, free: 50.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/10.34, allocations: 91.41 kB / 3.257 GB, free: 50.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/10.34, allocations: 38.47 kB / 3.257 GB, free: 50.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/10.34, allocations: 4.781 kB / 3.257 GB, free: 50.23 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004905/10.34, allocations: 0.8885 MB / 3.258 GB, free: 50.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/10.34, allocations: 8.5 kB / 3.258 GB, free: 50.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/10.35, allocations: 346.2 kB / 3.258 GB, free: 50.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/10.35, allocations: 139.1 kB / 3.258 GB, free: 50.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/10.35, allocations: 1.473 MB / 3.26 GB, free: 49.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/10.35, allocations: 82.25 kB / 3.26 GB, free: 49.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/10.35, allocations: 35.88 kB / 3.26 GB, free: 49.12 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" 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: 27 * 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 (62): * Single equations (assignments): 60 * 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.0003728/10.35, allocations: 133.6 kB / 3.26 GB, free: 49.01 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00351/10.35, allocations: 0.739 MB / 3.261 GB, free: 48.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/10.35, allocations: 58.56 kB / 3.261 GB, free: 48.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006691/10.36, allocations: 2.913 MB / 3.263 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.307e-05/10.36, allocations: 44.11 kB / 3.264 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/10.36, allocations: 0.7656 kB / 3.264 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/10.36, allocations: 4.844 kB / 3.264 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008538/10.37, allocations: 3.858 MB / 3.267 GB, free: 48.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/10.37, allocations: 0 / 3.267 GB, free: 48.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/10.37, allocations: 89.66 kB / 3.267 GB, free: 48.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003456/10.37, allocations: 0.9592 MB / 3.268 GB, free: 48.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/10.37, allocations: 4.562 kB / 3.268 GB, free: 48.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/10.38, allocations: 2.117 MB / 3.27 GB, free: 47.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/10.38, allocations: 0 / 3.27 GB, free: 47.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004696/10.38, allocations: 2.004 MB / 3.272 GB, free: 46.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007022/10.38, allocations: 278.2 kB / 3.273 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/10.38, allocations: 0 / 3.273 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009886/10.38, allocations: 83.3 kB / 3.273 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/10.38, allocations: 50.94 kB / 3.273 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/10.38, allocations: 32.17 kB / 3.273 GB, free: 46.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005355/10.39, allocations: 327.3 kB / 3.273 GB, free: 46.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.3e-07/10.39, allocations: 0 / 3.273 GB, free: 46.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006669/10.39, allocations: 1.339 MB / 3.274 GB, free: 46.56 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: 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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * 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 {2 8,2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01493/10.41, allocations: 4.06 MB / 3.278 GB, free: 45.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004339/10.41, allocations: 1.36 MB / 3.28 GB, free: 45.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/10.41, allocations: 0 / 3.28 GB, free: 45.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001485/10.41, allocations: 0.7656 MB / 3.28 GB, free: 45.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/10.42, allocations: 250.3 kB / 3.281 GB, free: 45.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007786/10.42, allocations: 2.165 MB / 3.283 GB, free: 45.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/10.42, allocations: 1.101 MB / 3.284 GB, free: 44.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002018/10.43, allocations: 0.7325 MB / 3.285 GB, free: 44.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006097/10.43, allocations: 354.2 kB / 3.285 GB, free: 44.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.223e-06/10.43, allocations: 0 / 3.285 GB, free: 44.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.135/10.56, allocations: 50.16 MB / 3.334 GB, free: 42.05 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/10.56, allocations: 195.2 kB / 3.334 GB, free: 41.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.125/15.69, allocations: 0 / 3.334 GB, free: 41.86 MB / 442.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