Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.39e-05, allocations: 4 kB / 299.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3651, allocations: 54.87 MB / 354.4 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.402/7.767, allocations: 2.595 GB / 2.941 GB, free: 112 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/7.767, allocations: 80.81 kB / 2.941 GB, free: 112 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.061/9.829, allocations: 413.7 MB / 3.345 GB, free: 63.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.744e-06/9.829, allocations: 0 / 3.345 GB, free: 63.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.597e-05/9.829, allocations: 18.69 kB / 3.345 GB, free: 63.43 MB / 490.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.00714/9.836, allocations: 1.649 MB / 3.347 GB, free: 62.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/9.836, allocations: 9.281 kB / 3.347 GB, free: 62.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/9.839, allocations: 305.9 kB / 3.347 GB, free: 62.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/9.841, allocations: 0.5382 MB / 3.348 GB, free: 62.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/9.841, allocations: 21.78 kB / 3.348 GB, free: 62.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/9.841, allocations: 33.25 kB / 3.348 GB, free: 62.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001434/9.842, allocations: 0.5084 MB / 3.348 GB, free: 62.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/9.844, allocations: 0.6372 MB / 3.349 GB, free: 62.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/9.844, allocations: 0 / 3.349 GB, free: 62.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.984e-05/9.844, allocations: 3.969 kB / 3.349 GB, free: 62.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/9.844, allocations: 17.69 kB / 3.349 GB, free: 62.3 MB / 490.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.1246/9.969, allocations: 36.46 MB / 3.384 GB, free: 43.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/9.97, allocations: 370.5 kB / 3.385 GB, free: 43.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005354/9.971, allocations: 183.4 kB / 3.385 GB, free: 43.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06895/10.04, allocations: 20.04 MB / 3.405 GB, free: 30.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/10.04, allocations: 45.22 kB / 3.405 GB, free: 30.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 3.316e-06/10.04, allocations: 0 / 3.405 GB, free: 30.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.01301/10.05, allocations: 2.336 MB / 3.407 GB, free: 29.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/10.05, allocations: 114.3 kB / 3.407 GB, free: 29.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/10.05, allocations: 363.2 kB / 3.407 GB, free: 29.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/10.05, allocations: 28.77 kB / 3.407 GB, free: 29.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/10.05, allocations: 338.5 kB / 3.408 GB, free: 29.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/10.05, allocations: 183.6 kB / 3.408 GB, free: 29.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/10.05, allocations: 2.625 kB / 3.408 GB, free: 29.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/10.05, allocations: 362.9 kB / 3.408 GB, free: 28.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/10.06, allocations: 216.2 kB / 3.408 GB, free: 28.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000608/10.06, allocations: 412.3 kB / 3.409 GB, free: 28.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/10.06, allocations: 385.5 kB / 3.409 GB, free: 28.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/10.06, allocations: 0 / 3.409 GB, free: 28.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00438/10.06, allocations: 1.001 MB / 3.41 GB, free: 28.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005106/10.06, allocations: 2.361 MB / 3.412 GB, free: 26.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/10.06, allocations: 6.875 kB / 3.412 GB, free: 26.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/10.07, allocations: 419.9 kB / 3.413 GB, free: 26.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009514/10.07, allocations: 143.1 kB / 3.413 GB, free: 26.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/10.07, allocations: 1.549 MB / 3.415 GB, free: 25.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/10.07, allocations: 86.62 kB / 3.415 GB, free: 25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/10.07, allocations: 41.77 kB / 3.415 GB, free: 25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/10.07, allocations: 5.688 kB / 3.415 GB, free: 25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004545/10.08, allocations: 0.8754 MB / 3.416 GB, free: 24.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/10.08, allocations: 5.906 kB / 3.416 GB, free: 24.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002349/10.08, allocations: 358.2 kB / 3.416 GB, free: 24.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009549/10.08, allocations: 146.4 kB / 3.416 GB, free: 24.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/10.08, allocations: 1.468 MB / 3.417 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/10.08, allocations: 83.98 kB / 3.418 GB, free: 23.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.515e-05/10.08, allocations: 38.08 kB / 3.418 GB, free: 23.86 MB / 490.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.0003425/10.08, allocations: 125.8 kB / 3.418 GB, free: 23.75 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003389/10.09, allocations: 0.7407 MB / 3.418 GB, free: 23.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/10.09, allocations: 58.75 kB / 3.418 GB, free: 23.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006236/10.09, allocations: 2.919 MB / 3.421 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-05/10.09, allocations: 40.02 kB / 3.421 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/10.09, allocations: 0 / 3.421 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/10.09, allocations: 3.75 kB / 3.421 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007686/10.1, allocations: 3.856 MB / 3.425 GB, free: 22.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/10.1, allocations: 0 / 3.425 GB, free: 22.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006129/10.1, allocations: 87.55 kB / 3.425 GB, free: 22.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/10.1, allocations: 0.9684 MB / 3.426 GB, free: 22.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/10.1, allocations: 7.016 kB / 3.426 GB, free: 22.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003336/10.11, allocations: 2.12 MB / 3.428 GB, free: 37.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/10.11, allocations: 0 / 3.428 GB, free: 37.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/10.11, allocations: 2.002 MB / 3.43 GB, free: 37.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006187/10.11, allocations: 274.7 kB / 3.43 GB, free: 37.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/10.11, allocations: 3.094 kB / 3.43 GB, free: 37.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/10.11, allocations: 83.41 kB / 3.431 GB, free: 37.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/10.12, allocations: 55.88 kB / 3.431 GB, free: 37.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/10.12, allocations: 21.34 kB / 3.431 GB, free: 37.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005602/10.12, allocations: 332 kB / 3.431 GB, free: 37.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.31e-07/10.12, allocations: 0 / 3.431 GB, free: 37.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006491/10.12, allocations: 1.344 MB / 3.432 GB, free: 36.96 MB / 0.4948 GB 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.0153/10.14, allocations: 4.078 MB / 3.436 GB, free: 35.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004381/10.14, allocations: 1.361 MB / 3.438 GB, free: 35.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/10.14, allocations: 4.25 kB / 3.438 GB, free: 35.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/10.14, allocations: 0.7688 MB / 3.438 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/10.15, allocations: 252.3 kB / 3.439 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007679/10.15, allocations: 2.148 MB / 3.441 GB, free: 35.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007643/10.15, allocations: 1.096 MB / 3.442 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002565/10.16, allocations: 0.7478 MB / 3.442 GB, free: 34.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/10.16, allocations: 349.4 kB / 3.443 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/10.16, allocations: 0 / 3.443 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1561/10.31, allocations: 50.33 MB / 3.492 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003135/10.31, allocations: 203.2 kB / 3.492 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.918/15.23, allocations: 0 / 3.492 GB, free: 2.988 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat