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.887/1.887, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.33e-05/4.347e-05, allocations: 5.547 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.481/7.585, allocations: 2.485 GB / 2.799 GB, free: 80.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003873/7.586, allocations: 86.02 kB / 2.799 GB, free: 80.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.99/9.576, allocations: 407.4 MB / 3.197 GB, free: 108 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/9.576, allocations: 4 kB / 3.197 GB, free: 104 kB / 426.7 MB Notification: Performance of Transformations before backend: time 5.58e-05/9.576, allocations: 16 kB / 3.197 GB, free: 88 kB / 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.007786/9.584, allocations: 1.602 MB / 3.199 GB, free: 14.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/9.584, allocations: 8.031 kB / 3.199 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002448/9.584, allocations: 98.86 kB / 3.199 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003342/9.587, allocations: 290.8 kB / 3.199 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/9.589, allocations: 0.5387 MB / 3.2 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.649e-05/9.589, allocations: 45.31 kB / 3.2 GB, free: 13.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/9.589, allocations: 52 kB / 3.2 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/9.593, allocations: 0.9416 MB / 3.201 GB, free: 12.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/9.593, allocations: 11.94 kB / 3.201 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/9.593, allocations: 27.95 kB / 3.201 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/9.593, allocations: 17 kB / 3.201 GB, free: 12.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/9.596, allocations: 0.7806 MB / 3.202 GB, free: 11.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.00818/9.604, allocations: 4.552 MB / 3.206 GB, free: 6.605 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/9.607, allocations: 0.6746 MB / 3.207 GB, free: 5.922 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/9.608, allocations: 208.8 kB / 3.207 GB, free: 5.715 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3886/9.997, allocations: 21.39 MB / 3.228 GB, free: 38.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/9.997, allocations: 38.66 kB / 3.228 GB, free: 38.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.477e-06/9.997, allocations: 3.344 kB / 3.228 GB, free: 38.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01638/10.01, allocations: 2.773 MB / 3.231 GB, free: 38.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/10.01, allocations: 113.4 kB / 3.231 GB, free: 37.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000751/10.01, allocations: 372.9 kB / 3.231 GB, free: 37.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/10.01, allocations: 35.95 kB / 3.231 GB, free: 37.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/10.01, allocations: 339.4 kB / 3.231 GB, free: 37.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/10.01, allocations: 196.7 kB / 3.232 GB, free: 37.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/10.01, allocations: 10.28 kB / 3.232 GB, free: 37.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/10.01, allocations: 366.8 kB / 3.232 GB, free: 37.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/10.02, allocations: 227.9 kB / 3.232 GB, free: 37.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007315/10.02, allocations: 428.2 kB / 3.233 GB, free: 37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/10.02, allocations: 275.8 kB / 3.233 GB, free: 36.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/10.02, allocations: 1.25 kB / 3.233 GB, free: 36.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003945/10.02, allocations: 0.9642 MB / 3.234 GB, free: 36.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005567/10.02, allocations: 2.352 MB / 3.236 GB, free: 34.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/10.02, allocations: 5.281 kB / 3.236 GB, free: 34.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003463/10.03, allocations: 434.2 kB / 3.236 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/10.03, allocations: 147.5 kB / 3.237 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/10.03, allocations: 1.477 MB / 3.238 GB, free: 33.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/10.03, allocations: 85.72 kB / 3.238 GB, free: 33.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/10.03, allocations: 39.95 kB / 3.238 GB, free: 33.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/10.03, allocations: 4.594 kB / 3.238 GB, free: 33.39 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00383/10.03, allocations: 0.8725 MB / 3.239 GB, free: 33.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/10.03, allocations: 8.781 kB / 3.239 GB, free: 33.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/10.04, allocations: 395.6 kB / 3.239 GB, free: 33.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/10.04, allocations: 151.8 kB / 3.24 GB, free: 33.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/10.04, allocations: 1.444 MB / 3.241 GB, free: 32.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/10.04, allocations: 92.81 kB / 3.241 GB, free: 32.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/10.04, allocations: 39.28 kB / 3.241 GB, free: 32.3 MB / 442.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 (63): * Single equations (assignments): 61 * 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.0003191/10.04, allocations: 147.1 kB / 3.241 GB, free: 32.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/10.04, allocations: 60.83 kB / 3.241 GB, free: 32.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006847/10.05, allocations: 3.564 MB / 3.245 GB, free: 31.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/10.05, allocations: 46.12 kB / 3.245 GB, free: 31.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/10.05, allocations: 0 / 3.245 GB, free: 31.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/10.05, allocations: 3.938 kB / 3.245 GB, free: 31.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007934/10.06, allocations: 4.573 MB / 3.249 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/10.06, allocations: 0 / 3.249 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/10.06, allocations: 110.5 kB / 3.249 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003492/10.06, allocations: 0.9916 MB / 3.25 GB, free: 31.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/10.06, allocations: 25.56 kB / 3.25 GB, free: 31.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/10.06, allocations: 1.972 MB / 3.252 GB, free: 30.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/10.06, allocations: 0 / 3.252 GB, free: 30.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003258/10.07, allocations: 2.095 MB / 3.254 GB, free: 29.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/10.07, allocations: 323.5 kB / 3.255 GB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/10.07, allocations: 13.19 kB / 3.255 GB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/10.07, allocations: 92.3 kB / 3.255 GB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/10.07, allocations: 59.17 kB / 3.255 GB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/10.07, allocations: 29.95 kB / 3.255 GB, free: 29.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006173/10.07, allocations: 383.2 kB / 3.255 GB, free: 29.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/10.07, allocations: 0 / 3.255 GB, free: 29.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007138/10.08, allocations: 1.396 MB / 3.257 GB, free: 29.58 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: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (48): * Single equations (assignments): 36 * 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 {2 8,2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01471/10.09, allocations: 4.131 MB / 3.261 GB, free: 28.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005056/10.1, allocations: 1.543 MB / 3.262 GB, free: 28.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/10.1, allocations: 0 / 3.262 GB, free: 28.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001826/10.1, allocations: 0.9037 MB / 3.263 GB, free: 28.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/10.1, allocations: 279.9 kB / 3.263 GB, free: 28.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2506/10.35, allocations: 76.35 MB / 3.338 GB, free: 19.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/10.35, allocations: 1.162 MB / 3.339 GB, free: 18.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001937/10.36, allocations: 0.6742 MB / 3.34 GB, free: 18.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006661/10.36, allocations: 400.3 kB / 3.34 GB, free: 18.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.272e-06/10.36, allocations: 4 kB / 3.34 GB, free: 18.08 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4863/10.84, allocations: 59.68 MB / 3.398 GB, free: 61.29 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/10.84, allocations: 248.3 kB / 3.398 GB, free: 60.95 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.326/16.17, allocations: 5.062 kB / 3.398 GB, free: 60.95 MB / 458.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