Running command: translateModel(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.2..h|pipe.mediums.2..p|pipe.mediums.3..h|pipe.mediums.3..p|pipe.mediums.4..h|pipe.mediums.4..p|pipe.mediums.5..h|pipe.mediums.5..p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues") Notification: Performance of loadModel(ModelicaTest): time 2.021/2.021, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.743e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3747, allocations: 48.7 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues): time 0.067/0.4418, allocations: 38.85 MB / 363.7 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04251/0.4844, allocations: 20.93 MB / 384.6 MB, free: 3.699 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.4861, allocations: 35.69 kB / 384.7 MB, free: 3.664 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.4883, allocations: 481.8 kB / 385.1 MB, free: 3.191 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01777/0.5061, allocations: 3.999 MB / 389.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01502/0.5212, allocations: 3.63 MB / 392.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004817/0.526, allocations: 1.94 MB / 394.7 MB, free: 9.602 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.5278, allocations: 0.655 MB / 395.4 MB, free: 8.945 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1286/0.6564, allocations: 50.51 MB / 445.9 MB, free: 6.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05122/0.7077, allocations: 19.79 MB / 465.7 MB, free: 2.613 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02333/0.7311, allocations: 7.593 MB / 473.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003996/0.7351, allocations: 500 kB / 473.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.7366, allocations: 0.5844 MB / 474.3 MB, free: 9.938 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009654/0.7376, allocations: 228 kB / 474.5 MB, free: 9.715 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.7512, allocations: 4.911 MB / 479.5 MB, free: 4.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7513, allocations: 0 / 479.5 MB, free: 4.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.7513, allocations: 0 / 479.5 MB, free: 4.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.475e-05/0.7514, allocations: 0 / 479.5 MB, free: 4.793 MB / 410.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.01266/0.7641, allocations: 2.708 MB / 482.2 MB, free: 2.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.7642, allocations: 12.03 kB / 482.2 MB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007419/0.7716, allocations: 0.6337 MB / 482.8 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.7755, allocations: 1.133 MB / 483.9 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003068/0.7758, allocations: 159 kB / 484.1 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.273/1.049, allocations: 154.6 kB / 484.2 MB, free: 137.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/1.061, allocations: 3.328 MB / 487.6 MB, free: 136.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.407e-05/1.061, allocations: 7.625 kB / 487.6 MB, free: 136.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/1.062, allocations: 70.5 kB / 487.6 MB, free: 136.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003862/1.062, allocations: 198.8 kB / 487.8 MB, free: 136.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/1.076, allocations: 3.293 MB / 491.1 MB, free: 135.1 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02921/1.105, allocations: 13.36 MB / 0.4927 GB, free: 125.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009256/1.114, allocations: 2.2 MB / 0.4948 GB, free: 124.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2212/1.336, allocations: 62.48 MB / 0.5558 GB, free: 60.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006354/1.342, allocations: 1.629 MB / 0.5574 GB, free: 58.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=143): time 5.49e-06/1.342, allocations: 0 / 0.5574 GB, free: 58.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=163): time 0.04469/1.387, allocations: 10.57 MB / 0.5677 GB, free: 47.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/1.387, allocations: 337.8 kB / 0.5681 GB, free: 47.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/1.389, allocations: 1.109 MB / 0.5692 GB, free: 46.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005368/1.39, allocations: 57.7 kB / 0.5692 GB, free: 46.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007885/1.391, allocations: 0.7932 MB / 0.57 GB, free: 45.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009913/1.392, allocations: 0.5666 MB / 0.5705 GB, free: 45.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/1.392, allocations: 40 kB / 0.5706 GB, free: 44.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/1.392, allocations: 390.8 kB / 0.5709 GB, free: 44.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004037/1.396, allocations: 1.187 MB / 0.5721 GB, free: 43.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004442/1.401, allocations: 1.772 MB / 0.5738 GB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.825/10.23, allocations: 0.7462 GB / 1.32 GB, free: 86.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/10.23, allocations: 4 kB / 1.32 GB, free: 86.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01473/10.24, allocations: 3.417 MB / 1.323 GB, free: 83.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002631/10.24, allocations: 6.88 MB / 1.33 GB, free: 76.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-05/10.24, allocations: 20 kB / 1.33 GB, free: 76.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003179/10.25, allocations: 443.9 kB / 1.331 GB, free: 75.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005398/10.25, allocations: 0.5266 MB / 1.331 GB, free: 75.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/10.25, allocations: 3.312 MB / 1.334 GB, free: 71.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003874/10.26, allocations: 257.4 kB / 1.335 GB, free: 71.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005309/10.26, allocations: 104 kB / 1.335 GB, free: 71.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/10.26, allocations: 7.953 kB / 1.335 GB, free: 71.29 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0108/10.27, allocations: 3.218 MB / 1.338 GB, free: 68.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.477e-05/10.27, allocations: 21.94 kB / 1.338 GB, free: 68.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/10.27, allocations: 424 kB / 1.338 GB, free: 67.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004547/10.28, allocations: 0.5148 MB / 1.339 GB, free: 67.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/10.28, allocations: 3.308 MB / 1.342 GB, free: 63.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/10.28, allocations: 249.3 kB / 1.342 GB, free: 63.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003582/10.28, allocations: 106.8 kB / 1.342 GB, free: 63.33 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) 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: 79 * 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 (248): * Single equations (assignments): 243 * 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.0016/10.29, allocations: 0.5965 MB / 1.343 GB, free: 62.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004572/10.29, allocations: 157.7 kB / 1.343 GB, free: 62.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/10.3, allocations: 6.651 MB / 1.35 GB, free: 56.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.552e-05/10.3, allocations: 67.91 kB / 1.35 GB, free: 56.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/10.3, allocations: 4 kB / 1.35 GB, free: 56.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01119/10.31, allocations: 5.204 MB / 1.355 GB, free: 50.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02597/10.34, allocations: 9.074 MB / 1.364 GB, free: 41.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.473e-05/10.34, allocations: 4 kB / 1.364 GB, free: 41.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003248/10.34, allocations: 403.5 kB / 1.364 GB, free: 41.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00418/10.35, allocations: 0.5385 MB / 1.364 GB, free: 40.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006715/10.35, allocations: 59.97 kB / 1.365 GB, free: 40.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/10.35, allocations: 3.399 MB / 1.368 GB, free: 37.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/10.35, allocations: 0 / 1.368 GB, free: 37.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01749/10.37, allocations: 6.788 MB / 1.374 GB, free: 30.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/10.37, allocations: 0.7579 MB / 1.375 GB, free: 29.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007293/10.37, allocations: 51.98 kB / 1.375 GB, free: 29.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002966/10.37, allocations: 196.5 kB / 1.375 GB, free: 29.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006386/10.37, allocations: 165.7 kB / 1.376 GB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/10.37, allocations: 67.91 kB / 1.376 GB, free: 28.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002428/10.38, allocations: 1.188 MB / 1.377 GB, free: 27.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.112e-06/10.38, allocations: 0 / 1.377 GB, free: 27.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007716/10.38, allocations: 2.083 MB / 1.379 GB, free: 25.82 MB / 426.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,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse34.phase,$cse34.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,$cse5.phase,$cse5.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.0114/10.4, allocations: 1.531 MB / 1.38 GB, free: 24.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01563/10.41, allocations: 5.109 MB / 1.385 GB, free: 19.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/10.41, allocations: 0 / 1.385 GB, free: 19.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006122/10.42, allocations: 2.269 MB / 1.388 GB, free: 17.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006346/10.42, allocations: 0.7183 MB / 1.388 GB, free: 16.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/10.44, allocations: 7.955 MB / 1.396 GB, free: 8.492 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3045/10.75, allocations: 1.986 MB / 1.398 GB, free: 141.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/10.75, allocations: 180 kB / 1.398 GB, free: 141.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/10.75, allocations: 0 / 1.398 GB, free: 141.8 MB / 426.7 MB Notification: Performance of Templates: time 0.1693/10.92, allocations: 103.5 MB / 1.499 GB, free: 58.25 MB / 426.7 MB