Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p|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_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") Notification: Performance of loadModel(ModelicaTest): time 1.875/1.875, allocations: 209.3 MB / 223.8 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.813e-05, allocations: 0 / 276.2 MB, free: 15.22 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3518, allocations: 48.69 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization): time 0.06735/0.4192, allocations: 38.86 MB / 363.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04279/0.462, allocations: 20.93 MB / 384.7 MB, free: 3.621 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.4637, allocations: 39.69 kB / 384.7 MB, free: 3.582 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.466, allocations: 481.7 kB / 385.2 MB, free: 3.109 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01794/0.484, allocations: 4.004 MB / 389.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01425/0.4983, allocations: 3.619 MB / 392.8 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004828/0.5032, allocations: 2.092 MB / 394.9 MB, free: 9.375 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.5047, allocations: 0.6629 MB / 395.5 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1254/0.6301, allocations: 50.16 MB / 445.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04966/0.6799, allocations: 19.87 MB / 465.6 MB, free: 2.652 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02319/0.7031, allocations: 7.64 MB / 473.2 MB, free: 11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003743/0.7069, allocations: 0.4961 MB / 473.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.7083, allocations: 0.6233 MB / 474.3 MB, free: 9.883 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009889/0.7093, allocations: 240 kB / 474.6 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.7223, allocations: 5.055 MB / 479.6 MB, free: 4.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7223, allocations: 0 / 479.6 MB, free: 4.582 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.7224, allocations: 0 / 479.6 MB, free: 4.582 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.309e-05/0.7225, allocations: 0 / 479.6 MB, free: 4.582 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01384/0.7363, allocations: 2.931 MB / 482.6 MB, free: 1.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.7364, allocations: 8.031 kB / 482.6 MB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007308/0.7437, allocations: 0.6649 MB / 483.2 MB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2787/1.022, allocations: 1.173 MB / 484.4 MB, free: 136.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/1.023, allocations: 164.8 kB / 484.6 MB, free: 136.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006842/1.024, allocations: 173.4 kB / 484.7 MB, free: 136.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/1.036, allocations: 3.556 MB / 488.3 MB, free: 135 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.778e-05/1.036, allocations: 6.125 kB / 488.3 MB, free: 135 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003393/1.036, allocations: 73.31 kB / 488.4 MB, free: 135 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003753/1.037, allocations: 225.7 kB / 488.6 MB, free: 135 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/1.051, allocations: 3.525 MB / 492.1 MB, free: 133.9 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.03028/1.081, allocations: 14.13 MB / 0.4944 GB, free: 123.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009232/1.091, allocations: 2.292 MB / 0.4966 GB, free: 122.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2049/1.296, allocations: 64.24 MB / 0.5593 GB, free: 54.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006514/1.302, allocations: 1.728 MB / 0.561 GB, free: 52.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=154): time 5.27e-06/1.302, allocations: 0 / 0.561 GB, free: 52.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=174): time 0.03388/1.336, allocations: 9.469 MB / 0.5703 GB, free: 43.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/1.336, allocations: 290.3 kB / 0.5706 GB, free: 43.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/1.338, allocations: 1.182 MB / 0.5717 GB, free: 41.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004379/1.339, allocations: 57.7 kB / 0.5718 GB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006975/1.34, allocations: 0.8293 MB / 0.5726 GB, free: 40.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000743/1.34, allocations: 0.6042 MB / 0.5732 GB, free: 40.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/1.341, allocations: 44 kB / 0.5732 GB, free: 40.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/1.341, allocations: 398.3 kB / 0.5736 GB, free: 39.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004004/1.345, allocations: 1.277 MB / 0.5748 GB, free: 38.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00441/1.349, allocations: 1.869 MB / 0.5767 GB, free: 36.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004505/1.354, allocations: 1.52 MB / 0.5781 GB, free: 34.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/1.354, allocations: 4 kB / 0.5781 GB, free: 34.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01322/1.367, allocations: 4.362 MB / 0.5824 GB, free: 30.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001312/1.368, allocations: 6.718 MB / 0.589 GB, free: 23.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.556e-05/1.369, allocations: 20 kB / 0.589 GB, free: 23.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02713/1.396, allocations: 3.717 MB / 0.5926 GB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/1.398, allocations: 343.4 kB / 0.5929 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/1.409, allocations: 4.065 MB / 0.5969 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004022/1.413, allocations: 271.4 kB / 0.5972 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000507/1.414, allocations: 116.8 kB / 0.5973 GB, free: 14.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.414, allocations: 4 kB / 0.5973 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0134/1.427, allocations: 3.974 MB / 0.6012 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.546e-05/1.427, allocations: 24.22 kB / 0.6012 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01639/1.444, allocations: 2.472 MB / 0.6036 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002699/1.446, allocations: 390.3 kB / 0.604 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008547/1.455, allocations: 3.34 MB / 0.6072 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003923/1.459, allocations: 267.5 kB / 0.6075 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005793/1.46, allocations: 104 kB / 0.6076 GB, free: 4.207 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].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 (171): * Single equations (assignments): 170 * 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 {14 91} Notification: Performance of prepare postOptimizeDAE: time 0.001789/1.461, allocations: 0.6251 MB / 0.6082 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004922/1.462, allocations: 162 kB / 0.6084 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/1.478, allocations: 6.843 MB / 0.615 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000119/1.479, allocations: 79.89 kB / 0.6151 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/1.479, allocations: 3.953 kB / 0.6151 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01367/1.492, allocations: 5.484 MB / 0.6205 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2995/1.792, allocations: 9.524 MB / 0.6298 GB, free: 145.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.511e-05/1.792, allocations: 1.094 kB / 0.6298 GB, free: 145.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003894/1.796, allocations: 438.2 kB / 0.6302 GB, free: 145.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/1.799, allocations: 441.3 kB / 0.6306 GB, free: 145.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004999/1.799, allocations: 67.23 kB / 0.6307 GB, free: 145.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/1.801, allocations: 3.217 MB / 0.6338 GB, free: 142.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.801, allocations: 4.109 kB / 0.6338 GB, free: 142.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01941/1.821, allocations: 7.102 MB / 0.6408 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/1.823, allocations: 0.761 MB / 0.6415 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008513/1.824, allocations: 52.06 kB / 0.6416 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003505/1.828, allocations: 212.5 kB / 0.6418 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007839/1.829, allocations: 179.2 kB / 0.6419 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002898/1.829, allocations: 65.2 kB / 0.642 GB, free: 139.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003076/1.832, allocations: 1.238 MB / 0.6432 GB, free: 138.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.204e-06/1.832, allocations: 1.219 kB / 0.6432 GB, free: 138.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009132/1.841, allocations: 2.152 MB / 0.6453 GB, free: 138.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (pipe.mediums[1].p,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: 39 ($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,$cse16.region3boundary,$cse17.region3boundary,$cse18.phase,$cse18.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse34.phase,$cse34.region,$whenCondition2,$whenCondition1,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].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 (202): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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 {1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0087/1.85, allocations: 1.551 MB / 0.6468 GB, free: 138.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0176/1.868, allocations: 5.55 MB / 0.6522 GB, free: 136.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/1.868, allocations: 0 / 0.6522 GB, free: 136.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006526/1.874, allocations: 2.395 MB / 0.6546 GB, free: 135.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007215/1.881, allocations: 0.7704 MB / 0.6553 GB, free: 135.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/1.899, allocations: 8.153 MB / 0.6633 GB, free: 127.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/1.901, allocations: 2.056 MB / 0.6653 GB, free: 125.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006044/1.907, allocations: 1.621 MB / 0.6669 GB, free: 124 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009724/1.908, allocations: 143.4 kB / 0.667 GB, free: 123.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/1.908, allocations: 0 / 0.667 GB, free: 123.8 MB / 426.7 MB Notification: Performance of Templates: time 0.1607/2.069, allocations: 78.47 MB / 0.7436 GB, free: 45.37 MB / 426.7 MB