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.027/2.027, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.817e-05, allocations: 0 / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 48.69 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.753/7.863, allocations: 2.553 GB / 2.862 GB, free: 40.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/7.864, allocations: 74.34 kB / 2.862 GB, free: 40.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.591/10.46, allocations: 478.5 MB / 3.329 GB, free: 41.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.344e-06/10.46, allocations: 0 / 3.329 GB, free: 41.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001315/10.46, allocations: 35.34 kB / 3.329 GB, free: 41.29 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.01457/10.47, allocations: 2.826 MB / 3.332 GB, free: 40.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/10.47, allocations: 7.75 kB / 3.332 GB, free: 40.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006546/10.48, allocations: 0.5672 MB / 3.332 GB, free: 39.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005967/10.48, allocations: 1.474 MB / 3.334 GB, free: 39.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/10.48, allocations: 76.48 kB / 3.334 GB, free: 39.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006737/10.48, allocations: 86.92 kB / 3.334 GB, free: 39.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005442/10.49, allocations: 2.002 MB / 3.336 GB, free: 38.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005259/10.49, allocations: 2.028 MB / 3.338 GB, free: 37.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-05/10.49, allocations: 13.62 kB / 3.338 GB, free: 37.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002672/10.49, allocations: 2.312 kB / 3.338 GB, free: 37.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000185/10.49, allocations: 110.5 kB / 3.338 GB, free: 37.64 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.7863/11.28, allocations: 133.3 MB / 3.468 GB, free: 23.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/11.28, allocations: 1.177 MB / 3.469 GB, free: 23.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/11.29, allocations: 0.7449 MB / 3.47 GB, free: 23.06 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05169/11.34, allocations: 16.71 MB / 3.486 GB, free: 28.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002048/11.34, allocations: 0.8611 MB / 3.487 GB, free: 28.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=112): time 4.789e-06/11.34, allocations: 0.6562 kB / 3.487 GB, free: 28.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=136): time 0.02348/11.36, allocations: 5.995 MB / 3.493 GB, free: 27.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/11.36, allocations: 202.3 kB / 3.493 GB, free: 27.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/11.36, allocations: 0.8158 MB / 3.494 GB, free: 26.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003863/11.37, allocations: 25.7 kB / 3.494 GB, free: 26.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007171/11.37, allocations: 0.7235 MB / 3.495 GB, free: 26.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005731/11.37, allocations: 460.3 kB / 3.495 GB, free: 26.42 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/11.37, allocations: 0 / 3.495 GB, free: 26.42 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002635/11.37, allocations: 434.8 kB / 3.496 GB, free: 26.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/11.37, allocations: 0.853 MB / 3.497 GB, free: 26.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/11.37, allocations: 1.337 MB / 3.498 GB, free: 25.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02851/11.4, allocations: 4.385 MB / 3.502 GB, free: 25.03 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/11.4, allocations: 4.781 kB / 3.502 GB, free: 25.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01673/11.42, allocations: 3.959 MB / 3.506 GB, free: 24.87 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00254/11.42, allocations: 5.66 MB / 3.512 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.988e-05/11.42, allocations: 14.41 kB / 3.512 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01441/11.43, allocations: 2.072 MB / 3.514 GB, free: 18.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/11.44, allocations: 274.4 kB / 3.514 GB, free: 18.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007276/11.44, allocations: 3.236 MB / 3.517 GB, free: 18.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003275/11.45, allocations: 198.7 kB / 3.517 GB, free: 18.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/11.45, allocations: 93.44 kB / 3.517 GB, free: 18.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/11.45, allocations: 7.031 kB / 3.517 GB, free: 18.27 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01736/11.46, allocations: 3.834 MB / 3.521 GB, free: 18.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.801e-05/11.46, allocations: 15.94 kB / 3.521 GB, free: 18.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/11.47, allocations: 1.764 MB / 3.523 GB, free: 18.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/11.48, allocations: 299.4 kB / 3.523 GB, free: 18.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/11.48, allocations: 2.873 MB / 3.526 GB, free: 17.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/11.49, allocations: 177.5 kB / 3.526 GB, free: 17.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006058/11.49, allocations: 85.91 kB / 3.526 GB, free: 17.56 MB / 474.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 ($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,source.medium.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.0008233/11.49, allocations: 174.7 kB / 3.526 GB, free: 17.45 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007713/11.49, allocations: 2.238 MB / 3.528 GB, free: 17.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/11.5, allocations: 129.1 kB / 3.529 GB, free: 17.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008897/11.5, allocations: 4.59 MB / 3.533 GB, free: 16.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-05/11.5, allocations: 46.86 kB / 3.533 GB, free: 16.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/11.5, allocations: 0 / 3.533 GB, free: 16.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007255/11.51, allocations: 4.269 MB / 3.537 GB, free: 16.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/11.53, allocations: 6.95 MB / 3.544 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/11.53, allocations: 0 / 3.544 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/11.53, allocations: 222 kB / 3.544 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006368/11.53, allocations: 1.195 MB / 3.545 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003158/11.53, allocations: 26.56 kB / 3.545 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004139/11.54, allocations: 2.382 MB / 3.548 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/11.54, allocations: 8.656 kB / 3.548 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009185/11.55, allocations: 4.86 MB / 3.553 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/11.55, allocations: 447.3 kB / 3.553 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004/11.55, allocations: 22.12 kB / 3.553 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/11.55, allocations: 137.2 kB / 3.553 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/11.55, allocations: 140.8 kB / 3.553 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/11.55, allocations: 54.02 kB / 3.553 GB, free: 14.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001072/11.55, allocations: 0.5864 MB / 3.554 GB, free: 13.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.52e-07/11.55, allocations: 0 / 3.554 GB, free: 13.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009217/11.56, allocations: 1.965 MB / 3.556 GB, free: 12.55 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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: 26 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.02204/11.58, allocations: 7.788 MB / 3.563 GB, free: 6.578 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008954/11.59, allocations: 3.733 MB / 3.567 GB, free: 3.324 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/11.59, allocations: 0 / 3.567 GB, free: 3.324 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003585/11.6, allocations: 1.61 MB / 3.569 GB, free: 1.906 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004715/11.6, allocations: 0.5002 MB / 3.569 GB, free: 1.551 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/11.62, allocations: 4.677 MB / 3.574 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/11.62, allocations: 1.616 MB / 3.575 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00523/11.63, allocations: 1.557 MB / 3.577 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/11.63, allocations: 0.6704 MB / 3.577 GB, free: 10.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/11.63, allocations: 0 / 3.577 GB, free: 10.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.566/12.19, allocations: 81.68 MB / 3.657 GB, free: 77.36 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003202/12.19, allocations: 226.2 kB / 3.657 GB, free: 77.06 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.749/17.94, allocations: 3.938 kB / 3.657 GB, free: 77.06 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