Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestOverdeterminedInitial_DynamicPipeInitialValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.976/1.976, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.248e-05/4.256e-05, allocations: 7.938 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.923/8.037, allocations: 2.553 GB / 2.868 GB, free: 21.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/8.037, allocations: 76.78 kB / 2.868 GB, free: 21.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.634/10.67, allocations: 486.8 MB / 3.343 GB, free: 34.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.894e-06/10.67, allocations: 3.938 kB / 3.343 GB, free: 34.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001544/10.67, allocations: 37.81 kB / 3.343 GB, free: 34.2 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.01464/10.69, allocations: 2.847 MB / 3.346 GB, free: 32.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/10.69, allocations: 14.36 kB / 3.346 GB, free: 32.75 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001118/10.69, allocations: 262.3 kB / 3.346 GB, free: 32.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007283/10.69, allocations: 0.6534 MB / 3.347 GB, free: 32.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00605/10.7, allocations: 1.509 MB / 3.348 GB, free: 31.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002723/10.7, allocations: 154.9 kB / 3.348 GB, free: 31.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007115/10.7, allocations: 168.5 kB / 3.349 GB, free: 31.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009886/10.71, allocations: 3.287 MB / 3.352 GB, free: 30.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.94e-05/10.71, allocations: 11.47 kB / 3.352 GB, free: 30.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003711/10.71, allocations: 71.33 kB / 3.352 GB, free: 30.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002212/10.71, allocations: 149.7 kB / 3.352 GB, free: 30.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009917/10.72, allocations: 3.07 MB / 3.355 GB, free: 28.36 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.02593/10.75, allocations: 13.35 MB / 3.368 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006666/10.76, allocations: 2.043 MB / 3.37 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/10.76, allocations: 0.9917 MB / 3.371 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5976/11.36, allocations: 61.95 MB / 3.431 GB, free: 36.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005859/11.36, allocations: 1.607 MB / 3.433 GB, free: 35.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=143): time 6.312e-06/11.36, allocations: 0 / 3.433 GB, free: 35.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=163): time 0.03747/11.4, allocations: 9.165 MB / 3.442 GB, free: 34.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/11.4, allocations: 334.9 kB / 3.442 GB, free: 33.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/11.4, allocations: 1.097 MB / 3.443 GB, free: 33.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005818/11.4, allocations: 59.67 kB / 3.443 GB, free: 33.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008502/11.4, allocations: 0.7962 MB / 3.444 GB, free: 33.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009394/11.4, allocations: 0.5601 MB / 3.445 GB, free: 33.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/11.4, allocations: 37.25 kB / 3.445 GB, free: 33.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/11.4, allocations: 390 kB / 3.445 GB, free: 32.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00263/11.41, allocations: 1.055 MB / 3.446 GB, free: 32.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/11.41, allocations: 1.601 MB / 3.448 GB, free: 32.19 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.984/20.39, allocations: 0.7375 GB / 4.185 GB, free: 75.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/20.39, allocations: 4.859 kB / 4.185 GB, free: 75.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.009282/20.4, allocations: 3.151 MB / 4.188 GB, free: 74.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001478/20.4, allocations: 6.534 MB / 4.195 GB, free: 67.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.364e-05/20.4, allocations: 16 kB / 4.195 GB, free: 67.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/20.41, allocations: 446 kB / 4.195 GB, free: 66.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004398/20.41, allocations: 0.5206 MB / 4.196 GB, free: 66.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/20.41, allocations: 3.3 MB / 4.199 GB, free: 63.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004092/20.42, allocations: 253.6 kB / 4.199 GB, free: 63.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000518/20.42, allocations: 113.1 kB / 4.199 GB, free: 63.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/20.42, allocations: 4 kB / 4.199 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007732/20.43, allocations: 2.873 MB / 4.202 GB, free: 61.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.961e-05/20.43, allocations: 16 kB / 4.202 GB, free: 61.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/20.43, allocations: 451 kB / 4.202 GB, free: 61.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004176/20.43, allocations: 0.5098 MB / 4.203 GB, free: 61.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/20.44, allocations: 3.299 MB / 4.206 GB, free: 58.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003932/20.44, allocations: 251.5 kB / 4.206 GB, free: 57.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007084/20.44, allocations: 101 kB / 4.207 GB, free: 57.88 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: pipe.mediums[1].p = 10000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 16 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,pipe.state_a.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 239 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009261/20.44, allocations: 238.1 kB / 4.207 GB, free: 57.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005656/20.44, allocations: 154.4 kB / 4.207 GB, free: 57.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/20.46, allocations: 6.523 MB / 4.213 GB, free: 54.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.482e-05/20.46, allocations: 77.45 kB / 4.213 GB, free: 54.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/20.46, allocations: 4 kB / 4.213 GB, free: 54.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009367/20.47, allocations: 5.128 MB / 4.218 GB, free: 50.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/20.48, allocations: 8.987 MB / 4.227 GB, free: 44.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/20.48, allocations: 4 kB / 4.227 GB, free: 44.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003353/20.49, allocations: 400.9 kB / 4.228 GB, free: 44.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002976/20.49, allocations: 0.5298 MB / 4.228 GB, free: 43.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005054/20.49, allocations: 60.2 kB / 4.228 GB, free: 43.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/20.49, allocations: 3.395 MB / 4.231 GB, free: 40.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/20.49, allocations: 6.75 kB / 4.231 GB, free: 40.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/20.51, allocations: 6.425 MB / 4.238 GB, free: 36.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002404/20.51, allocations: 0.7735 MB / 4.238 GB, free: 35.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007456/20.51, allocations: 50.94 kB / 4.238 GB, free: 35.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/20.51, allocations: 198.9 kB / 4.239 GB, free: 35.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006165/20.51, allocations: 172 kB / 4.239 GB, free: 35.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/20.51, allocations: 62.11 kB / 4.239 GB, free: 35.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002432/20.52, allocations: 1.169 MB / 4.24 GB, free: 34.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/20.52, allocations: 0 / 4.24 GB, free: 34.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0121/20.53, allocations: 2.288 MB / 4.242 GB, free: 32.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 36 ($cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$whenCondition1,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02767/20.56, allocations: 9.363 MB / 4.251 GB, free: 25.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01306/20.57, allocations: 4.683 MB / 4.256 GB, free: 22.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/20.57, allocations: 2.156 kB / 4.256 GB, free: 22.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005268/20.58, allocations: 2.14 MB / 4.258 GB, free: 20.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006667/20.58, allocations: 0.7396 MB / 4.259 GB, free: 19.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6549/21.24, allocations: 90.69 MB / 4.347 GB, free: 72.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/21.24, allocations: 2.012 MB / 4.349 GB, free: 72.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007932/21.25, allocations: 2.404 MB / 4.352 GB, free: 71.92 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002464/21.25, allocations: 1.048 MB / 4.353 GB, free: 71.91 MB / 490.7 MB Notification: Performance of SimCode: time 2.254e-06/21.25, allocations: 0 / 4.353 GB, free: 71.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6314/21.88, allocations: 97.53 MB / 4.448 GB, free: 66.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/21.88, allocations: 247.1 kB / 4.448 GB, free: 65.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/28.94, allocations: 3.438 kB / 4.448 GB, free: 65.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues_res.mat does not exist to compare? outputFormat=mat