Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_IncompressibleFluidNetwork_StandardWaterOnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.512/2.512, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.727e-05, allocations: 8 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4162, allocations: 54.85 MB / 359.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.646/9.062, allocations: 2.784 GB / 3.135 GB, free: 90.63 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/9.063, allocations: 75.83 kB / 3.135 GB, free: 90.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.6/20.67, allocations: 2.104 GB / 5.239 GB, free: 28.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.695e-06/20.67, allocations: 5.969 kB / 5.239 GB, free: 28.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.00117/20.67, allocations: 214.2 kB / 5.24 GB, free: 28.28 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1894 * Number of variables: 1894 Notification: Performance of Generate backend data structure: time 0.06478/20.73, allocations: 9.813 MB / 5.249 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/20.73, allocations: 7.406 kB / 5.249 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005795/20.74, allocations: 0.969 MB / 5.25 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0211/20.76, allocations: 1.975 MB / 5.252 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03315/20.79, allocations: 7.128 MB / 5.259 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001083/20.79, allocations: 0.5419 MB / 5.26 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004671/20.8, allocations: 0.7081 MB / 5.26 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04984/20.85, allocations: 12.9 MB / 5.273 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005541/20.85, allocations: 37.5 kB / 5.273 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004423/20.85, allocations: 309.7 kB / 5.273 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001496/20.85, allocations: 0.6409 MB / 5.274 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04204/20.9, allocations: 12.46 MB / 5.286 GB, free: 20.3 MB / 0.5886 GB 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: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(pipe1.mediums[1].p) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1138/21.01, allocations: 53.94 MB / 5.339 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02269/21.03, allocations: 7.476 MB / 5.346 GB, free: 116 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02486/21.06, allocations: 5.032 MB / 5.351 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9416/22, allocations: 98.34 MB / 5.447 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/22, allocations: 100.5 kB / 5.447 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009567/22.01, allocations: 0.8305 MB / 5.448 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=583): time 4.175e-05/22.01, allocations: 0 / 5.448 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=705): time 0.2666/22.28, allocations: 45.29 MB / 5.492 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/22.28, allocations: 177.9 kB / 5.492 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01261/22.29, allocations: 4.215 MB / 5.496 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.002423/22.29, allocations: 152.8 kB / 5.497 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003648/22.29, allocations: 2.987 MB / 5.499 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004679/22.3, allocations: 2.44 MB / 5.502 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002314/22.3, allocations: 162.6 kB / 5.502 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000864/22.3, allocations: 0.6339 MB / 5.503 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01307/22.32, allocations: 4.308 MB / 5.507 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01572/22.33, allocations: 6.155 MB / 5.513 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5507/22.88, allocations: 41.21 MB / 5.553 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/22.88, allocations: 16 kB / 5.553 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.05368/22.94, allocations: 14.56 MB / 5.567 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.00846/22.94, allocations: 20.2 MB / 5.587 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002655/22.94, allocations: 52.94 kB / 5.587 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2316/23.18, allocations: 18.45 MB / 5.605 GB, free: 3.391 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008109/23.18, allocations: 1.059 MB / 5.606 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6694/23.85, allocations: 15.12 MB / 5.621 GB, free: 99.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01632/23.87, allocations: 0.8817 MB / 5.622 GB, free: 99.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003467/23.87, allocations: 390.8 kB / 5.622 GB, free: 99.23 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/23.87, allocations: 2.844 kB / 5.622 GB, free: 99.23 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05054/23.92, allocations: 13.83 MB / 5.636 GB, free: 99.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002233/23.92, allocations: 51.86 kB / 5.636 GB, free: 99.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2078/24.13, allocations: 16.73 MB / 5.652 GB, free: 98.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008062/24.14, allocations: 1.087 MB / 5.653 GB, free: 98.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03693/24.18, allocations: 13.98 MB / 5.667 GB, free: 97.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01268/24.19, allocations: 0.8681 MB / 5.668 GB, free: 97.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002725/24.19, allocations: 382.1 kB / 5.668 GB, free: 97.73 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 12 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe1.mediums[2].p = 0.0 $DER.pipe3.mediums[1].p = 0.0 $DER.pipe7.mediums[2].p = 0.0 $DER.pipe9.mediums[1].p = 0.0 $DER.pipe10.mediums[1].p = 0.0 $DER.pipe4.mediums[2].p = 0.0 $DER.pipe5.mediums[1].p = 0.0 $DER.pipe8.mediums[2].p = 0.0 $DER.pipe10.mediums[2].p = 0.0 $DER.pipe11.mediums[1].p = 0.0 $DER.pipe5.mediums[2].p = 0.0 $DER.pipe9.mediums[2].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 52 (valve3.state_b.phase,valve3.state_a.phase,valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,pipe11.mediums[2].phase,pipe11.mediums[1].phase,pipe11.state_b.phase,pipe11.state_a.phase,pipe5.mediums[2].phase,pipe5.mediums[1].phase,pipe5.state_b.phase,pipe5.state_a.phase,pipe10.mediums[2].phase,pipe10.mediums[1].phase,pipe10.state_b.phase,pipe10.state_a.phase,pipe9.mediums[2].phase,pipe9.mediums[1].phase,pipe9.state_b.phase,pipe9.state_a.phase,pipe8.mediums[2].phase,pipe8.mediums[1].phase,pipe8.state_b.phase,pipe8.state_a.phase,sink.medium.phase,pipe7.mediums[2].phase,pipe7.mediums[1].phase,pipe7.state_b.phase,pipe7.state_a.phase,pipe6.mediums[2].phase,pipe6.mediums[1].phase,pipe6.state_b.phase,pipe6.state_a.phase,pipe4.mediums[2].phase,pipe4.mediums[1].phase,pipe4.state_b.phase,pipe4.state_a.phase,pipe3.mediums[2].phase,pipe3.mediums[1].phase,pipe3.state_b.phase,pipe3.state_a.phase,pipe2.mediums[2].phase,pipe2.mediums[1].phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.mediums[2].phase,pipe1.mediums[1].phase,pipe1.state_b.phase,pipe1.state_a.phase,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (606): * Single equations (assignments): 604 * 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 {1 10,30 380} Notification: Performance of prepare postOptimizeDAE: time 0.004798/24.2, allocations: 0.5986 MB / 5.669 GB, free: 97.61 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00339/24.2, allocations: 0.6655 MB / 5.669 GB, free: 97.61 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08039/24.28, allocations: 26.61 MB / 5.695 GB, free: 96.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004805/24.28, allocations: 235 kB / 5.695 GB, free: 96.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.701e-05/24.28, allocations: 0 / 5.695 GB, free: 96.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06028/24.34, allocations: 23.07 MB / 5.718 GB, free: 94.86 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1134/24.46, allocations: 46.06 MB / 5.763 GB, free: 81.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001287/24.46, allocations: 16.97 kB / 5.763 GB, free: 81.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007712/24.46, allocations: 0.9068 MB / 5.764 GB, free: 81.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09517/24.56, allocations: 10.4 MB / 5.774 GB, free: 79.41 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002333/24.56, allocations: 259.1 kB / 5.774 GB, free: 79.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02216/24.58, allocations: 14.56 MB / 5.788 GB, free: 67 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.367e-05/24.58, allocations: 34.84 kB / 5.788 GB, free: 66.98 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06004/24.64, allocations: 31.03 MB / 5.819 GB, free: 37.71 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00826/24.65, allocations: 2.012 MB / 5.821 GB, free: 35.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00379/24.66, allocations: 221 kB / 5.821 GB, free: 35.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01176/24.67, allocations: 0.572 MB / 5.821 GB, free: 35.31 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002466/24.67, allocations: 0.4982 MB / 5.822 GB, free: 35 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001328/24.67, allocations: 266.4 kB / 5.822 GB, free: 34.77 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.008233/24.68, allocations: 3.121 MB / 5.825 GB, free: 31.97 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.81e-07/24.68, allocations: 1.859 kB / 5.825 GB, free: 31.97 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.03328/24.71, allocations: 6.496 MB / 5.832 GB, free: 26 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 31 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].T,pipe4.mediums[1].p,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].p,pipe6.mediums[1].T,pipe6.mediums[2].p,pipe6.mediums[2].T,pipe7.mediums[1].p,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].p,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].p,pipe11.mediums[2].T) * Number of discrete variables: 102 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse34.phase,$cse34.region,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse52.phase,$cse52.region,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse57.phase,$cse57.region,$cse64.phase,$cse64.region,$cse65.phase,$cse65.region,$cse67.phase,$cse67.region,$cse68.phase,$cse68.region,$cse70.phase,$cse70.region,$cse71.phase,$cse71.region,$cse73.phase,$cse73.region,$cse75.phase,$cse75.region,$cse76.phase,$cse76.region,$cse77.phase,$cse77.region,$cse79.phase,$cse79.region,$cse80.phase,$cse80.region,$cse82.phase,$cse82.region,$cse83.phase,$cse83.region,$cse85.phase,$cse85.region,$cse86.phase,$cse86.region,$cse87.phase,$cse87.region,$cse88.phase,$cse88.region,$cse90.phase,$cse90.region,$cse91.phase,$cse91.region,$cse92.phase,$cse92.region,$cse93.phase,$cse93.region,$cse95.phase,$cse95.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (558): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 10,6 36,2 1,2 1,2 1,2 1,6 64,6 64,4 38,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.8132/25.53, allocations: 40.61 MB / 5.871 GB, free: 94.98 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0602/25.59, allocations: 19.28 MB / 5.89 GB, free: 94.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.785e-05/25.59, allocations: 5.781 kB / 5.89 GB, free: 94.68 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.02247/25.61, allocations: 8.585 MB / 5.898 GB, free: 94.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02851/25.64, allocations: 2.986 MB / 5.901 GB, free: 94.52 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.22/25.86, allocations: 70.98 MB / 5.971 GB, free: 89.25 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01215/25.87, allocations: 5.824 MB / 5.976 GB, free: 88.25 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009931/25.88, allocations: 4.268 MB / 5.981 GB, free: 88.23 MB / 0.6667 GB Notification: Performance of SimCode: time 1.824e-06/25.88, allocations: 0 / 5.981 GB, free: 88.23 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.085/34.97, allocations: 434.2 MB / 6.405 GB, free: 141 MB / 0.7136 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase_res.mat does not exist to compare? outputFormat=mat