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.989/1.989, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.269e-05/2.28e-05, allocations: 2.125 kB / 267.6 MB, free: 4.953 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 48.69 MB / 316.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.668/7.778, allocations: 2.553 GB / 2.862 GB, free: 40.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/7.779, allocations: 74.84 kB / 2.862 GB, free: 40.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.571/10.35, allocations: 482.1 MB / 3.333 GB, free: 39.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.535e-06/10.35, allocations: 2.531 kB / 3.333 GB, free: 39.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001472/10.35, allocations: 48.64 kB / 3.333 GB, free: 39.25 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.01394/10.36, allocations: 2.837 MB / 3.335 GB, free: 37.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/10.36, allocations: 10.38 kB / 3.335 GB, free: 37.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007066/10.37, allocations: 0.6523 MB / 3.336 GB, free: 37.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005937/10.38, allocations: 1.512 MB / 3.337 GB, free: 37.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/10.38, allocations: 89.61 kB / 3.338 GB, free: 37.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004998/10.38, allocations: 99.44 kB / 3.338 GB, free: 37.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006658/10.38, allocations: 2.596 MB / 3.34 GB, free: 36.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006114/10.39, allocations: 2.661 MB / 3.343 GB, free: 34.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.393e-05/10.39, allocations: 10.58 kB / 3.343 GB, free: 34.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/10.39, allocations: 3.906 kB / 3.343 GB, free: 34.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/10.39, allocations: 160.1 kB / 3.343 GB, free: 34.91 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.7991/11.19, allocations: 135.5 MB / 3.475 GB, free: 32.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003609/11.19, allocations: 1.489 MB / 3.477 GB, free: 32.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/11.2, allocations: 0.9093 MB / 3.478 GB, free: 32.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05296/11.25, allocations: 16.85 MB / 3.494 GB, free: 21.29 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002446/11.25, allocations: 1.054 MB / 3.495 GB, free: 21.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=129): time 4.568e-06/11.25, allocations: 4 kB / 3.495 GB, free: 21.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=149): time 0.0272/11.28, allocations: 7.067 MB / 3.502 GB, free: 20.26 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/11.28, allocations: 196.4 kB / 3.502 GB, free: 20.04 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/11.28, allocations: 0.8891 MB / 3.503 GB, free: 19.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004214/11.28, allocations: 25.7 kB / 3.503 GB, free: 19.85 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007946/11.28, allocations: 0.8483 MB / 3.504 GB, free: 19.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006769/11.28, allocations: 0.5019 MB / 3.504 GB, free: 19.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/11.28, allocations: 4 kB / 3.504 GB, free: 19.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002797/11.28, allocations: 446.7 kB / 3.505 GB, free: 18.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/11.29, allocations: 1.035 MB / 3.506 GB, free: 18.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/11.29, allocations: 1.587 MB / 3.507 GB, free: 18.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.031/11.32, allocations: 4.403 MB / 3.512 GB, free: 18.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/11.32, allocations: 7.125 kB / 3.512 GB, free: 18.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01842/11.34, allocations: 4.113 MB / 3.516 GB, free: 17.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002985/11.34, allocations: 6.534 MB / 3.522 GB, free: 26.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-05/11.34, allocations: 19.78 kB / 3.522 GB, free: 26.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/11.34, allocations: 419.7 kB / 3.522 GB, free: 26.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004556/11.35, allocations: 0.5113 MB / 3.523 GB, free: 26.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003703/11.35, allocations: 3.351 MB / 3.526 GB, free: 24.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004057/11.36, allocations: 228.8 kB / 3.526 GB, free: 24.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000481/11.36, allocations: 105.8 kB / 3.527 GB, free: 24.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/11.36, allocations: 3.688 kB / 3.527 GB, free: 24.26 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01628/11.37, allocations: 3.698 MB / 3.53 GB, free: 24.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.012e-05/11.37, allocations: 16.72 kB / 3.53 GB, free: 24.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/11.37, allocations: 422.9 kB / 3.531 GB, free: 24.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/11.38, allocations: 0.5078 MB / 3.531 GB, free: 24.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/11.38, allocations: 3.342 MB / 3.534 GB, free: 21.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003415/11.38, allocations: 212.5 kB / 3.535 GB, free: 21.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/11.38, allocations: 100.9 kB / 3.535 GB, free: 21.46 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 ($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,source.medium.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.000803/11.39, allocations: 192.1 kB / 3.535 GB, free: 21.34 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007256/11.39, allocations: 2.38 MB / 3.537 GB, free: 21.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/11.39, allocations: 134.2 kB / 3.537 GB, free: 21.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/11.4, allocations: 5.4 MB / 3.543 GB, free: 20.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.05e-05/11.4, allocations: 59.86 kB / 3.543 GB, free: 20.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/11.4, allocations: 0 / 3.543 GB, free: 20.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009002/11.41, allocations: 4.858 MB / 3.547 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/11.43, allocations: 7.977 MB / 3.555 GB, free: 19.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/11.43, allocations: 1.031 kB / 3.555 GB, free: 19.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002915/11.43, allocations: 357.1 kB / 3.556 GB, free: 19.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/11.43, allocations: 0.514 MB / 3.556 GB, free: 19.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004562/11.44, allocations: 39.92 kB / 3.556 GB, free: 19.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00348/11.44, allocations: 3.543 MB / 3.56 GB, free: 16.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/11.44, allocations: 6.188 kB / 3.56 GB, free: 16.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/11.45, allocations: 5.895 MB / 3.565 GB, free: 16.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/11.45, allocations: 0.5556 MB / 3.566 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006248/11.45, allocations: 21.23 kB / 3.566 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002793/11.46, allocations: 163.6 kB / 3.566 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005943/11.46, allocations: 162 kB / 3.566 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/11.46, allocations: 62.75 kB / 3.566 GB, free: 15.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001357/11.46, allocations: 0.6651 MB / 3.567 GB, free: 15.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.462e-06/11.46, allocations: 4 kB / 3.567 GB, free: 15.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01046/11.47, allocations: 2.106 MB / 3.569 GB, free: 13.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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: 31 ($cse3.phase,$cse3.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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.02559/11.5, allocations: 8.543 MB / 3.577 GB, free: 7.023 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01215/11.51, allocations: 4.49 MB / 3.582 GB, free: 3.125 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.689e-06/11.51, allocations: 4 kB / 3.582 GB, free: 3.121 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005047/11.51, allocations: 1.903 MB / 3.584 GB, free: 1.434 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005465/11.52, allocations: 0.5435 MB / 3.584 GB, free: 1.047 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5646/12.08, allocations: 59.24 MB / 3.642 GB, free: 84.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/12.09, allocations: 1.861 MB / 3.644 GB, free: 83.65 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007633/12.09, allocations: 2.508 MB / 3.646 GB, free: 83.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/12.09, allocations: 0.9066 MB / 3.647 GB, free: 83.53 MB / 490.7 MB Notification: Performance of SimCode: time 2.726e-06/12.09, allocations: 0 / 3.647 GB, free: 83.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1988/12.29, allocations: 80.48 MB / 3.726 GB, free: 52.47 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/12.29, allocations: 199.5 kB / 3.726 GB, free: 52.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.237/18.53, allocations: 0 / 3.726 GB, free: 52.21 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