Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.043/2.043, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.945e-05/5.966e-05, allocations: 8 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.982/8.105, allocations: 2.502 GB / 2.816 GB, free: 59.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/8.105, allocations: 81.45 kB / 2.816 GB, free: 59.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455/10.56, allocations: 426 MB / 3.232 GB, free: 46.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.565e-06/10.56, allocations: 0 / 3.232 GB, free: 46.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.074e-05/10.56, allocations: 18.75 kB / 3.232 GB, free: 46.64 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.008765/10.57, allocations: 1.705 MB / 3.234 GB, free: 45.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/10.57, allocations: 11.12 kB / 3.234 GB, free: 45.96 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002708/10.57, allocations: 98.81 kB / 3.234 GB, free: 45.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/10.57, allocations: 312.5 kB / 3.234 GB, free: 45.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/10.58, allocations: 0.587 MB / 3.235 GB, free: 45.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.038e-05/10.58, allocations: 47.12 kB / 3.235 GB, free: 45.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/10.58, allocations: 60.53 kB / 3.235 GB, free: 45.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003223/10.58, allocations: 0.9604 MB / 3.236 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/10.58, allocations: 2.438 kB / 3.236 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/10.58, allocations: 29.02 kB / 3.236 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/10.58, allocations: 24.91 kB / 3.236 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/10.58, allocations: 0.8046 MB / 3.237 GB, free: 45.44 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.007156/10.59, allocations: 4.329 MB / 3.241 GB, free: 42.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/10.59, allocations: 0.6886 MB / 3.242 GB, free: 42.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/10.59, allocations: 224 kB / 3.242 GB, free: 42.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2862/10.88, allocations: 79.42 MB / 3.32 GB, free: 30.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/10.88, allocations: 37.47 kB / 3.32 GB, free: 30.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/10.88, allocations: 0 / 3.32 GB, free: 30.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.007677/10.89, allocations: 1.827 MB / 3.321 GB, free: 29.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/10.89, allocations: 114.2 kB / 3.322 GB, free: 29.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00079/10.89, allocations: 419.9 kB / 3.322 GB, free: 29.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/10.89, allocations: 36.2 kB / 3.322 GB, free: 29.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/10.89, allocations: 376 kB / 3.322 GB, free: 29.31 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/10.89, allocations: 181.4 kB / 3.322 GB, free: 29.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/10.89, allocations: 13.75 kB / 3.323 GB, free: 29.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/10.89, allocations: 337 kB / 3.323 GB, free: 28.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/10.89, allocations: 186.4 kB / 3.323 GB, free: 28.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/10.89, allocations: 397.1 kB / 3.323 GB, free: 28.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000608/10.89, allocations: 239.2 kB / 3.324 GB, free: 28.63 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/10.89, allocations: 3.938 kB / 3.324 GB, free: 28.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00261/10.89, allocations: 0.8026 MB / 3.324 GB, free: 28.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001058/10.89, allocations: 2.36 MB / 3.327 GB, free: 26.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/10.89, allocations: 3.094 kB / 3.327 GB, free: 26.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00306/10.9, allocations: 397.1 kB / 3.327 GB, free: 26.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/10.9, allocations: 142.9 kB / 3.327 GB, free: 26.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/10.9, allocations: 0.8768 MB / 3.328 GB, free: 25.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/10.9, allocations: 83.81 kB / 3.328 GB, free: 25.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/10.9, allocations: 37.62 kB / 3.328 GB, free: 25.53 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/10.9, allocations: 3.781 kB / 3.328 GB, free: 25.53 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002383/10.9, allocations: 0.7167 MB / 3.329 GB, free: 25.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/10.9, allocations: 9.688 kB / 3.329 GB, free: 25.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/10.91, allocations: 275.1 kB / 3.329 GB, free: 25.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/10.91, allocations: 154.6 kB / 3.329 GB, free: 25.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/10.91, allocations: 0.8063 MB / 3.33 GB, free: 24.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/10.91, allocations: 88.31 kB / 3.33 GB, free: 24.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/10.91, allocations: 36.84 kB / 3.33 GB, free: 24.94 MB / 474.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 (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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003559/10.91, allocations: 154.9 kB / 3.33 GB, free: 24.83 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/10.91, allocations: 62.88 kB / 3.33 GB, free: 24.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004484/10.91, allocations: 2.651 MB / 3.333 GB, free: 24.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.172e-05/10.91, allocations: 35.12 kB / 3.333 GB, free: 24.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/10.91, allocations: 0 / 3.333 GB, free: 24.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/10.91, allocations: 3.75 kB / 3.333 GB, free: 24.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006411/10.92, allocations: 3.652 MB / 3.337 GB, free: 24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/10.92, allocations: 4 kB / 3.337 GB, free: 24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/10.92, allocations: 141.7 kB / 3.337 GB, free: 24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005807/10.92, allocations: 101.7 kB / 3.337 GB, free: 23.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/10.92, allocations: 16.08 kB / 3.337 GB, free: 23.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/10.92, allocations: 1.139 MB / 3.338 GB, free: 22.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/10.92, allocations: 3.25 kB / 3.338 GB, free: 22.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003919/10.93, allocations: 2.083 MB / 3.34 GB, free: 22.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008034/10.93, allocations: 344.9 kB / 3.34 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/10.93, allocations: 13.75 kB / 3.34 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009603/10.93, allocations: 68.06 kB / 3.34 GB, free: 22.44 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/10.93, allocations: 54.64 kB / 3.34 GB, free: 22.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/10.93, allocations: 19.56 kB / 3.341 GB, free: 22.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008213/10.93, allocations: 443.5 kB / 3.341 GB, free: 22.33 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.683e-06/10.93, allocations: 0 / 3.341 GB, free: 22.33 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007421/10.94, allocations: 1.39 MB / 3.342 GB, free: 22.14 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$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 (62): * Single equations (assignments): 50 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0162/10.95, allocations: 4.263 MB / 3.346 GB, free: 21.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003523/10.96, allocations: 1.211 MB / 3.348 GB, free: 21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/10.96, allocations: 0 / 3.348 GB, free: 21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/10.96, allocations: 0.6769 MB / 3.348 GB, free: 21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/10.96, allocations: 286.8 kB / 3.349 GB, free: 20.97 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7392/11.7, allocations: 122.4 MB / 3.468 GB, free: 71.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/11.7, allocations: 1.152 MB / 3.469 GB, free: 70.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007272/11.7, allocations: 454 kB / 3.47 GB, free: 70.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.744e-06/11.7, allocations: 0 / 3.47 GB, free: 70.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.033/15.74, allocations: 44.48 MB / 3.513 GB, free: 60.06 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat