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.967/1.967, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.208e-05/4.217e-05, allocations: 4 kB / 273.1 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.683/7.795, allocations: 2.553 GB / 2.868 GB, free: 3.777 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/7.796, allocations: 83.88 kB / 2.868 GB, free: 3.734 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.57/10.37, allocations: 486.8 MB / 3.343 GB, free: 30.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.434e-06/10.37, allocations: 0 / 3.343 GB, free: 30.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001777/10.37, allocations: 42.66 kB / 3.343 GB, free: 30.68 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.01459/10.38, allocations: 2.846 MB / 3.346 GB, free: 28.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/10.38, allocations: 12.03 kB / 3.346 GB, free: 28.12 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001176/10.38, allocations: 261.5 kB / 3.346 GB, free: 27.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007277/10.39, allocations: 0.6537 MB / 3.347 GB, free: 27.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006363/10.4, allocations: 1.503 MB / 3.348 GB, free: 26.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003261/10.4, allocations: 169.5 kB / 3.348 GB, free: 25.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009669/10.4, allocations: 162.7 kB / 3.349 GB, free: 25.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/10.41, allocations: 3.309 MB / 3.352 GB, free: 22.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-05/10.41, allocations: 7.938 kB / 3.352 GB, free: 22.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/10.41, allocations: 67.36 kB / 3.352 GB, free: 22.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/10.41, allocations: 155.2 kB / 3.352 GB, free: 22.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/10.42, allocations: 3.101 MB / 3.355 GB, free: 19.5 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.02771/10.45, allocations: 13.35 MB / 3.368 GB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006945/10.45, allocations: 2.065 MB / 3.37 GB, free: 3.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002405/10.46, allocations: 0.9925 MB / 3.371 GB, free: 2.172 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5683/11.02, allocations: 61.95 MB / 3.432 GB, free: 25.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005877/11.03, allocations: 1.605 MB / 3.433 GB, free: 24.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=143): time 5.42e-06/11.03, allocations: 0 / 3.433 GB, free: 24.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=163): time 0.03699/11.07, allocations: 9.181 MB / 3.442 GB, free: 23.15 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002195/11.07, allocations: 336.4 kB / 3.442 GB, free: 22.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/11.07, allocations: 1.091 MB / 3.443 GB, free: 22.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005965/11.07, allocations: 57.05 kB / 3.443 GB, free: 22.58 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008836/11.07, allocations: 0.7981 MB / 3.444 GB, free: 22.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/11.07, allocations: 0.5565 MB / 3.445 GB, free: 21.99 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/11.07, allocations: 45.53 kB / 3.445 GB, free: 21.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/11.07, allocations: 384.4 kB / 3.445 GB, free: 21.69 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002814/11.08, allocations: 1.057 MB / 3.446 GB, free: 21.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/11.08, allocations: 1.613 MB / 3.448 GB, free: 21.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.961/20.04, allocations: 0.7377 GB / 4.186 GB, free: 46.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/20.04, allocations: 5.219 kB / 4.186 GB, free: 46.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01265/20.05, allocations: 3.198 MB / 4.189 GB, free: 44.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001818/20.05, allocations: 6.537 MB / 4.195 GB, free: 37.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-05/20.05, allocations: 16 kB / 4.195 GB, free: 37.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/20.06, allocations: 443.9 kB / 4.196 GB, free: 37.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005721/20.06, allocations: 0.5162 MB / 4.196 GB, free: 36.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/20.07, allocations: 3.304 MB / 4.199 GB, free: 33.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005717/20.07, allocations: 249.7 kB / 4.199 GB, free: 33.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006218/20.07, allocations: 100.7 kB / 4.2 GB, free: 33.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/20.07, allocations: 8 kB / 4.2 GB, free: 33.37 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01107/20.09, allocations: 2.923 MB / 4.202 GB, free: 31.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.188e-05/20.09, allocations: 21.72 kB / 4.202 GB, free: 31.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003001/20.09, allocations: 450.2 kB / 4.203 GB, free: 31.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005449/20.09, allocations: 0.5037 MB / 4.203 GB, free: 30.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00367/20.1, allocations: 3.313 MB / 4.207 GB, free: 27.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00405/20.1, allocations: 249.7 kB / 4.207 GB, free: 27.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004632/20.1, allocations: 96.53 kB / 4.207 GB, free: 27.15 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.0008466/20.1, allocations: 243.9 kB / 4.207 GB, free: 27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005156/20.1, allocations: 153.3 kB / 4.207 GB, free: 26.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/20.12, allocations: 6.54 MB / 4.214 GB, free: 22.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-05/20.12, allocations: 72.14 kB / 4.214 GB, free: 22.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/20.12, allocations: 3.953 kB / 4.214 GB, free: 22.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009182/20.13, allocations: 5.133 MB / 4.219 GB, free: 19.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3652/20.49, allocations: 8.981 MB / 4.228 GB, free: 86.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-05/20.49, allocations: 1.688 kB / 4.228 GB, free: 86.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003533/20.49, allocations: 400.7 kB / 4.228 GB, free: 86.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003166/20.5, allocations: 0.5393 MB / 4.228 GB, free: 86.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005707/20.5, allocations: 58.53 kB / 4.229 GB, free: 86.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002968/20.5, allocations: 3.405 MB / 4.232 GB, free: 83.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/20.5, allocations: 0 / 4.232 GB, free: 83.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01718/20.52, allocations: 6.436 MB / 4.238 GB, free: 83.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/20.52, allocations: 0.7674 MB / 4.239 GB, free: 83.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009123/20.52, allocations: 48.72 kB / 4.239 GB, free: 83.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003634/20.53, allocations: 199.4 kB / 4.239 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008813/20.53, allocations: 173.9 kB / 4.239 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/20.53, allocations: 63.03 kB / 4.239 GB, free: 83.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003271/20.53, allocations: 1.171 MB / 4.241 GB, free: 83.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.082e-06/20.53, allocations: 1.203 kB / 4.241 GB, free: 83.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.014/20.54, allocations: 2.284 MB / 4.243 GB, free: 83.02 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.02631/20.57, allocations: 9.348 MB / 4.252 GB, free: 81.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01302/20.58, allocations: 4.756 MB / 4.257 GB, free: 81.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/20.58, allocations: 3.844 kB / 4.257 GB, free: 81.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005613/20.59, allocations: 2.152 MB / 4.259 GB, free: 81.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006961/20.6, allocations: 0.719 MB / 4.259 GB, free: 81.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.275/20.87, allocations: 90.72 MB / 4.348 GB, free: 64.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/20.87, allocations: 2.011 MB / 4.35 GB, free: 63.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007448/20.88, allocations: 2.402 MB / 4.352 GB, free: 61.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002239/20.88, allocations: 1.049 MB / 4.353 GB, free: 60.99 MB / 490.7 MB Notification: Performance of SimCode: time 2.815e-06/20.88, allocations: 0 / 4.353 GB, free: 60.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5665/21.45, allocations: 97.53 MB / 4.448 GB, free: 82.74 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/21.45, allocations: 250.9 kB / 4.449 GB, free: 82.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/28.37, allocations: 0 / 4.449 GB, free: 82.41 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