Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestOverdeterminedInitial_DynamicPipeLumpedPressureInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.035/2.035, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.451e-05/4.459e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.972/8.088, allocations: 2.553 GB / 2.868 GB, free: 2.062 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/8.088, allocations: 75.47 kB / 2.868 GB, free: 2.027 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.687/10.78, allocations: 483.2 MB / 3.339 GB, free: 35.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.405e-06/10.78, allocations: 0 / 3.339 GB, free: 35.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000135/10.78, allocations: 37.97 kB / 3.34 GB, free: 35.54 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.01441/10.79, allocations: 2.828 MB / 3.342 GB, free: 34.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/10.79, allocations: 7.562 kB / 3.342 GB, free: 34.27 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000849/10.79, allocations: 214.7 kB / 3.342 GB, free: 34.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006564/10.8, allocations: 0.5674 MB / 3.343 GB, free: 34.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005948/10.8, allocations: 1.468 MB / 3.344 GB, free: 33.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/10.8, allocations: 136 kB / 3.345 GB, free: 33.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006697/10.8, allocations: 145.7 kB / 3.345 GB, free: 33.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00872/10.81, allocations: 2.674 MB / 3.347 GB, free: 32.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-05/10.81, allocations: 17.56 kB / 3.347 GB, free: 32.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003234/10.81, allocations: 60.55 kB / 3.347 GB, free: 32.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/10.81, allocations: 104.5 kB / 3.348 GB, free: 32.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008992/10.82, allocations: 2.498 MB / 3.35 GB, free: 31.31 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.0214/10.84, allocations: 10.92 MB / 3.361 GB, free: 23.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006353/10.85, allocations: 1.751 MB / 3.362 GB, free: 22.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/10.85, allocations: 0.8452 MB / 3.363 GB, free: 22.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5876/11.44, allocations: 61.96 MB / 3.424 GB, free: 44.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00539/11.45, allocations: 1.391 MB / 3.425 GB, free: 44.37 MB / 458.7 MB Notification: Performance of pre-optimization done (n=127): time 6.382e-06/11.45, allocations: 0 / 3.425 GB, free: 44.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=151): time 0.02614/11.47, allocations: 6.979 MB / 3.432 GB, free: 43.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/11.47, allocations: 283.4 kB / 3.432 GB, free: 42.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/11.47, allocations: 0.8841 MB / 3.433 GB, free: 42.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004633/11.47, allocations: 57.05 kB / 3.433 GB, free: 42.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006782/11.48, allocations: 0.6649 MB / 3.434 GB, free: 42.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007933/11.48, allocations: 0.5142 MB / 3.434 GB, free: 42.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/11.48, allocations: 38.41 kB / 3.434 GB, free: 42.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/11.48, allocations: 378.4 kB / 3.435 GB, free: 41.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/11.48, allocations: 0.8829 MB / 3.435 GB, free: 41.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/11.48, allocations: 1.366 MB / 3.437 GB, free: 41.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.067/18.55, allocations: 0.5687 GB / 4.006 GB, free: 76.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.006e-05/18.55, allocations: 8.859 kB / 4.006 GB, free: 76.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.008058/18.56, allocations: 3.051 MB / 4.008 GB, free: 74.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001468/18.56, allocations: 5.667 MB / 4.014 GB, free: 68.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-05/18.56, allocations: 20 kB / 4.014 GB, free: 68.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01866/18.58, allocations: 2.379 MB / 4.016 GB, free: 67.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/18.58, allocations: 285.7 kB / 4.017 GB, free: 67.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006126/18.58, allocations: 3.018 MB / 4.02 GB, free: 65.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/18.59, allocations: 217.6 kB / 4.02 GB, free: 65.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/18.59, allocations: 88.27 kB / 4.02 GB, free: 65.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/18.59, allocations: 4.75 kB / 4.02 GB, free: 65.31 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007174/18.6, allocations: 2.879 MB / 4.023 GB, free: 63.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.076e-05/18.6, allocations: 16.55 kB / 4.023 GB, free: 63.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/18.61, allocations: 1.832 MB / 4.025 GB, free: 62.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/18.61, allocations: 296.4 kB / 4.025 GB, free: 62.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005353/18.61, allocations: 2.751 MB / 4.027 GB, free: 60.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/18.62, allocations: 213 kB / 4.028 GB, free: 60.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/18.62, allocations: 86 kB / 4.028 GB, free: 60.62 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 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe.mediums[2].p = 0.0 $DER.pipe.mediums[3].p = 0.0 $DER.pipe.mediums[4].p = 0.0 $DER.pipe.mediums[1].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,pipe.mediums[1].phase,pipe.mediums[2].phase,pipe.mediums[4].phase,pipe.mediums[5].phase,pipe.statesFM[2].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * 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 {6 79} Notification: Performance of prepare postOptimizeDAE: time 0.0007088/18.62, allocations: 244.5 kB / 4.028 GB, free: 60.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/18.62, allocations: 136 kB / 4.028 GB, free: 60.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/18.63, allocations: 5.731 MB / 4.034 GB, free: 57.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.685e-05/18.63, allocations: 52.89 kB / 4.034 GB, free: 57.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/18.63, allocations: 0 / 4.034 GB, free: 57.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007426/18.64, allocations: 4.646 MB / 4.038 GB, free: 54.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/18.66, allocations: 7.98 MB / 4.046 GB, free: 50.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/18.66, allocations: 4 kB / 4.046 GB, free: 50.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/18.66, allocations: 254.6 kB / 4.046 GB, free: 50.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009428/18.67, allocations: 1.236 MB / 4.048 GB, free: 49.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005033/18.67, allocations: 49.14 kB / 4.048 GB, free: 49.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/18.67, allocations: 2.175 MB / 4.05 GB, free: 48.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/18.67, allocations: 7.844 kB / 4.05 GB, free: 48.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/18.69, allocations: 5.415 MB / 4.055 GB, free: 44.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/18.69, allocations: 0.6097 MB / 4.056 GB, free: 43.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007168/18.69, allocations: 46.11 kB / 4.056 GB, free: 43.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003762/18.69, allocations: 176.5 kB / 4.056 GB, free: 43.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006867/18.69, allocations: 157.3 kB / 4.056 GB, free: 43.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/18.69, allocations: 50.05 kB / 4.056 GB, free: 43.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002566/18.7, allocations: 0.9445 MB / 4.057 GB, free: 42.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.31e-07/18.7, allocations: 0 / 4.057 GB, free: 42.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01297/18.71, allocations: 2.118 MB / 4.059 GB, free: 41.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (pipe.mediums[1].h,pipe.mediums[2].h,pipe.mediums[3].h,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 31 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.mediums[1].phase,pipe.mediums[2].phase,pipe.mediums[4].phase,pipe.mediums[5].phase,pipe.statesFM[2].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 (124): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 1 * 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 {10 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.0296/18.74, allocations: 8.471 MB / 4.067 GB, free: 34.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01658/18.76, allocations: 3.951 MB / 4.071 GB, free: 31.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/18.76, allocations: 4 kB / 4.071 GB, free: 31.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004407/18.76, allocations: 1.812 MB / 4.073 GB, free: 30.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006422/18.77, allocations: 0.668 MB / 4.074 GB, free: 29.49 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5682/19.34, allocations: 59.5 MB / 4.132 GB, free: 75.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002023/19.34, allocations: 1.747 MB / 4.133 GB, free: 74.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005579/19.34, allocations: 1.405 MB / 4.135 GB, free: 74.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/19.35, allocations: 0.8251 MB / 4.136 GB, free: 74.39 MB / 490.7 MB Notification: Performance of SimCode: time 2.425e-06/19.35, allocations: 0 / 4.136 GB, free: 74.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2448/19.59, allocations: 96.69 MB / 4.23 GB, free: 42.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/19.59, allocations: 273.5 kB / 4.23 GB, free: 41.85 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/26.64, allocations: 0 / 4.23 GB, free: 41.85 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization_res.mat does not exist to compare? outputFormat=mat