Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.965/1.965, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.467e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 48.7 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.674/7.787, allocations: 2.502 GB / 2.811 GB, free: 89.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/7.788, allocations: 82.7 kB / 2.811 GB, free: 89.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074/9.862, allocations: 421.6 MB / 3.222 GB, free: 11.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.844e-06/9.862, allocations: 0 / 3.222 GB, free: 11.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.029e-05/9.862, allocations: 23.91 kB / 3.222 GB, free: 11.04 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.008349/9.87, allocations: 1.698 MB / 3.224 GB, free: 9.297 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/9.87, allocations: 8.031 kB / 3.224 GB, free: 9.289 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/9.874, allocations: 318.8 kB / 3.224 GB, free: 8.977 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/9.876, allocations: 0.5815 MB / 3.225 GB, free: 8.363 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/9.876, allocations: 24 kB / 3.225 GB, free: 8.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/9.877, allocations: 32 kB / 3.225 GB, free: 8.309 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001611/9.878, allocations: 0.5343 MB / 3.225 GB, free: 7.773 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/9.88, allocations: 0.6627 MB / 3.226 GB, free: 7.047 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/9.88, allocations: 3.938 kB / 3.226 GB, free: 7.043 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.906e-05/9.88, allocations: 4 kB / 3.226 GB, free: 7.039 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/9.88, allocations: 21.31 kB / 3.226 GB, free: 7.02 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.01222/9.892, allocations: 5.736 MB / 3.232 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/9.894, allocations: 446.7 kB / 3.232 GB, free: 300 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/9.894, allocations: 218.1 kB / 3.232 GB, free: 80 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6132/10.51, allocations: 81.79 MB / 3.312 GB, free: 30.44 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/10.51, allocations: 41.14 kB / 3.312 GB, free: 30.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=47): time 3.918e-06/10.51, allocations: 0 / 3.312 GB, free: 30.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=51): time 0.009785/10.52, allocations: 1.789 MB / 3.314 GB, free: 30.06 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/10.52, allocations: 107.1 kB / 3.314 GB, free: 29.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006936/10.52, allocations: 388.3 kB / 3.315 GB, free: 29.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/10.52, allocations: 25.7 kB / 3.315 GB, free: 29.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/10.52, allocations: 376.1 kB / 3.315 GB, free: 29.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/10.52, allocations: 169.2 kB / 3.315 GB, free: 29.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/10.52, allocations: 0 / 3.315 GB, free: 29.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/10.52, allocations: 331.2 kB / 3.315 GB, free: 29.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/10.52, allocations: 193.6 kB / 3.316 GB, free: 29.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/10.52, allocations: 377 kB / 3.316 GB, free: 28.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/10.52, allocations: 327.1 kB / 3.316 GB, free: 28.94 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/10.52, allocations: 4.688 kB / 3.316 GB, free: 28.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003675/10.53, allocations: 0.8164 MB / 3.317 GB, free: 28.87 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009276/10.53, allocations: 2.187 MB / 3.319 GB, free: 26.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/10.53, allocations: 7.719 kB / 3.319 GB, free: 26.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/10.53, allocations: 284.2 kB / 3.319 GB, free: 26.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/10.53, allocations: 144.2 kB / 3.32 GB, free: 26.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/10.53, allocations: 0.9515 MB / 3.321 GB, free: 26.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/10.53, allocations: 78.73 kB / 3.321 GB, free: 26.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/10.53, allocations: 38.69 kB / 3.321 GB, free: 26.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/10.53, allocations: 3.188 kB / 3.321 GB, free: 26.02 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003012/10.54, allocations: 0.6964 MB / 3.321 GB, free: 25.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/10.54, allocations: 7.766 kB / 3.321 GB, free: 25.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/10.54, allocations: 253.2 kB / 3.322 GB, free: 25.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/10.54, allocations: 149.8 kB / 3.322 GB, free: 25.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/10.54, allocations: 0.8436 MB / 3.323 GB, free: 25.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/10.54, allocations: 83.05 kB / 3.323 GB, free: 25.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/10.54, allocations: 33 kB / 3.323 GB, free: 25.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0003427/10.54, allocations: 120.2 kB / 3.323 GB, free: 25.33 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002633/10.55, allocations: 0.5577 MB / 3.323 GB, free: 25.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/10.55, allocations: 70.03 kB / 3.323 GB, free: 25.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/10.55, allocations: 2.62 MB / 3.326 GB, free: 24.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-05/10.55, allocations: 35.27 kB / 3.326 GB, free: 24.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/10.55, allocations: 3.938 kB / 3.326 GB, free: 24.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/10.55, allocations: 3.797 kB / 3.326 GB, free: 24.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006988/10.56, allocations: 3.574 MB / 3.329 GB, free: 24.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/10.56, allocations: 3 kB / 3.329 GB, free: 24.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/10.56, allocations: 165.9 kB / 3.33 GB, free: 24.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003753/10.56, allocations: 60.89 kB / 3.33 GB, free: 24.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/10.56, allocations: 14.89 kB / 3.33 GB, free: 24.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/10.56, allocations: 1.207 MB / 3.331 GB, free: 23.42 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/10.56, allocations: 0 / 3.331 GB, free: 23.42 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004774/10.57, allocations: 2.258 MB / 3.333 GB, free: 23.15 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008577/10.57, allocations: 311.9 kB / 3.333 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/10.57, allocations: 6.609 kB / 3.333 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/10.57, allocations: 58.08 kB / 3.333 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/10.57, allocations: 55.2 kB / 3.333 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/10.57, allocations: 27.5 kB / 3.334 GB, free: 22.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006923/10.57, allocations: 360.2 kB / 3.334 GB, free: 22.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.02e-07/10.57, allocations: 0 / 3.334 GB, free: 22.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007604/10.58, allocations: 1.328 MB / 3.335 GB, free: 22.88 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: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$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 (65): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0172/10.59, allocations: 4.513 MB / 3.34 GB, free: 21.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003507/10.6, allocations: 1.191 MB / 3.341 GB, free: 21.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/10.6, allocations: 3.75 kB / 3.341 GB, free: 21.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/10.6, allocations: 0.7426 MB / 3.341 GB, free: 21.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/10.6, allocations: 274.2 kB / 3.342 GB, free: 21.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2093/10.81, allocations: 55.77 MB / 3.396 GB, free: 5.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009896/10.81, allocations: 1.149 MB / 3.397 GB, free: 4.582 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008503/10.81, allocations: 435.5 kB / 3.398 GB, free: 4.527 MB / 474.7 MB Notification: Performance of SimCode: time 3.416e-06/10.81, allocations: 0 / 3.398 GB, free: 4.527 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.439/15.25, allocations: 44.72 MB / 3.441 GB, free: 70.78 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat