Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.035/2.035, allocations: 209.4 MB / 216.9 MB, free: 6.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.275e-05, allocations: 6.25 kB / 267.6 MB, free: 5.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 48.7 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.747/7.854, allocations: 2.501 GB / 2.81 GB, free: 89.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/7.854, allocations: 87.31 kB / 2.81 GB, free: 89.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.102/9.956, allocations: 421.4 MB / 3.222 GB, free: 10.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/9.956, allocations: 0 / 3.222 GB, free: 10.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.972e-05/9.956, allocations: 18.66 kB / 3.222 GB, free: 10.84 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.008351/9.964, allocations: 1.728 MB / 3.224 GB, free: 9.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/9.965, allocations: 12.03 kB / 3.224 GB, free: 9.059 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/9.968, allocations: 314.8 kB / 3.224 GB, free: 8.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/9.97, allocations: 0.5782 MB / 3.225 GB, free: 8.141 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/9.97, allocations: 24 kB / 3.225 GB, free: 8.117 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/9.97, allocations: 32 kB / 3.225 GB, free: 8.086 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00158/9.972, allocations: 0.5382 MB / 3.225 GB, free: 7.547 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/9.973, allocations: 0.6549 MB / 3.226 GB, free: 6.828 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/9.973, allocations: 7.938 kB / 3.226 GB, free: 6.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/9.973, allocations: 3.984 kB / 3.226 GB, free: 6.816 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/9.973, allocations: 29.23 kB / 3.226 GB, free: 6.789 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.5954/10.57, allocations: 68.45 MB / 3.293 GB, free: 29.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009381/10.57, allocations: 337.4 kB / 3.293 GB, free: 29.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/10.57, allocations: 169.2 kB / 3.293 GB, free: 29.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05259/10.62, allocations: 17.01 MB / 3.31 GB, free: 18.33 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/10.62, allocations: 48.33 kB / 3.31 GB, free: 18.29 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 3.286e-06/10.62, allocations: 0 / 3.31 GB, free: 18.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=54): time 0.04002/10.66, allocations: 3.264 MB / 3.313 GB, free: 17.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/10.66, allocations: 114.7 kB / 3.313 GB, free: 17.67 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008147/10.66, allocations: 423.8 kB / 3.314 GB, free: 17.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001477/10.66, allocations: 25.7 kB / 3.314 GB, free: 17.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/10.66, allocations: 407.2 kB / 3.314 GB, free: 17.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/10.66, allocations: 185.2 kB / 3.314 GB, free: 17.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/10.66, allocations: 0 / 3.314 GB, free: 17.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/10.66, allocations: 341.1 kB / 3.314 GB, free: 16.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/10.67, allocations: 262.8 kB / 3.315 GB, free: 16.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007537/10.67, allocations: 486.5 kB / 3.315 GB, free: 16.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002283/10.67, allocations: 431.2 kB / 3.316 GB, free: 16.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/10.67, allocations: 0 / 3.316 GB, free: 16.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004042/10.67, allocations: 1.05 MB / 3.317 GB, free: 16.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00174/10.67, allocations: 2.62 MB / 3.319 GB, free: 29.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/10.67, allocations: 10.34 kB / 3.319 GB, free: 29.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/10.68, allocations: 0.5491 MB / 3.32 GB, free: 29.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/10.68, allocations: 187.8 kB / 3.32 GB, free: 29.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004517/10.68, allocations: 1.77 MB / 3.322 GB, free: 28.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/10.69, allocations: 126.6 kB / 3.322 GB, free: 28.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/10.69, allocations: 50.2 kB / 3.322 GB, free: 28.69 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/10.69, allocations: 10.25 kB / 3.322 GB, free: 28.69 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003378/10.69, allocations: 0.8072 MB / 3.323 GB, free: 28.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/10.69, allocations: 7.875 kB / 3.323 GB, free: 28.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/10.69, allocations: 333.7 kB / 3.323 GB, free: 28.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/10.69, allocations: 190.6 kB / 3.323 GB, free: 28.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/10.7, allocations: 1.443 MB / 3.324 GB, free: 27.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/10.7, allocations: 109.2 kB / 3.325 GB, free: 27.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/10.7, allocations: 39.31 kB / 3.325 GB, free: 27.56 MB / 474.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: 30 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.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 (68): * Single equations (assignments): 66 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004408/10.7, allocations: 138.3 kB / 3.325 GB, free: 27.45 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005345/10.7, allocations: 0.953 MB / 3.326 GB, free: 27.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/10.7, allocations: 60.25 kB / 3.326 GB, free: 27.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007122/10.71, allocations: 2.537 MB / 3.328 GB, free: 27.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.461e-05/10.71, allocations: 27.58 kB / 3.328 GB, free: 27.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/10.71, allocations: 0 / 3.328 GB, free: 27.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/10.71, allocations: 3.188 kB / 3.328 GB, free: 27.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007047/10.72, allocations: 3.292 MB / 3.331 GB, free: 26.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/10.72, allocations: 2.062 kB / 3.331 GB, free: 26.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/10.72, allocations: 95.81 kB / 3.332 GB, free: 26.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004281/10.72, allocations: 1.461 MB / 3.333 GB, free: 26.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/10.72, allocations: 7.797 kB / 3.333 GB, free: 26.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004252/10.73, allocations: 2.595 MB / 3.336 GB, free: 25.58 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/10.73, allocations: 0 / 3.336 GB, free: 25.58 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003881/10.73, allocations: 1.824 MB / 3.337 GB, free: 25.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000752/10.73, allocations: 287.6 kB / 3.338 GB, free: 25.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/10.73, allocations: 5.641 kB / 3.338 GB, free: 25.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/10.73, allocations: 90.98 kB / 3.338 GB, free: 25.15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/10.73, allocations: 56.33 kB / 3.338 GB, free: 25.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/10.73, allocations: 22.31 kB / 3.338 GB, free: 25.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007449/10.73, allocations: 432 kB / 3.338 GB, free: 25.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/10.73, allocations: 0 / 3.338 GB, free: 25.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007602/10.74, allocations: 1.493 MB / 3.34 GB, free: 25.04 MB / 474.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: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01653/10.76, allocations: 3.955 MB / 3.343 GB, free: 24.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00459/10.76, allocations: 1.266 MB / 3.345 GB, free: 24.03 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/10.76, allocations: 0 / 3.345 GB, free: 24.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001627/10.77, allocations: 0.6275 MB / 3.345 GB, free: 24.01 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/10.77, allocations: 240.4 kB / 3.346 GB, free: 24 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008631/10.78, allocations: 1.985 MB / 3.347 GB, free: 23.49 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007717/10.78, allocations: 1.051 MB / 3.349 GB, free: 22.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007042/10.78, allocations: 337.1 kB / 3.349 GB, free: 22.77 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/10.78, allocations: 0 / 3.349 GB, free: 22.77 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.029/14.81, allocations: 46.75 MB / 3.394 GB, free: 7.625 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat