Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadModel(ModelicaTest): time 1.79/1.79, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.856e-05, allocations: 4 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08515/0.0852, allocations: 48.7 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.261/6.347, allocations: 2.545 GB / 2.859 GB, free: 85.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/6.347, allocations: 71.53 kB / 2.859 GB, free: 85.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.028/8.375, allocations: 453 MB / 3.301 GB, free: 37.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.149e-06/8.375, allocations: 0 / 3.301 GB, free: 37.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.436e-05/8.375, allocations: 24.67 kB / 3.301 GB, free: 37.91 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007205/8.383, allocations: 2.096 MB / 3.303 GB, free: 37.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/8.383, allocations: 10.56 kB / 3.303 GB, free: 37.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003933/8.387, allocations: 357.4 kB / 3.304 GB, free: 36.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/8.389, allocations: 0.885 MB / 3.304 GB, free: 36.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/8.389, allocations: 63.94 kB / 3.305 GB, free: 36.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/8.39, allocations: 82.73 kB / 3.305 GB, free: 36.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/8.394, allocations: 1.45 MB / 3.306 GB, free: 36.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/8.394, allocations: 3.297 kB / 3.306 GB, free: 36.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/8.394, allocations: 35.56 kB / 3.306 GB, free: 36.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.848e-05/8.394, allocations: 55.38 kB / 3.306 GB, free: 36.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/8.398, allocations: 1.234 MB / 3.307 GB, free: 36.44 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.009504/8.407, allocations: 6.554 MB / 3.314 GB, free: 32.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/8.41, allocations: 0.9275 MB / 3.315 GB, free: 32.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006915/8.411, allocations: 389.1 kB / 3.315 GB, free: 32.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07313/8.484, allocations: 32.05 MB / 3.346 GB, free: 28.44 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/8.484, allocations: 40.97 kB / 3.346 GB, free: 28.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 3.87e-06/8.484, allocations: 0 / 3.346 GB, free: 28.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=61): time 0.00881/8.493, allocations: 2.804 MB / 3.349 GB, free: 27.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/8.493, allocations: 190.3 kB / 3.349 GB, free: 27.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/8.494, allocations: 0.6446 MB / 3.35 GB, free: 27.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/8.494, allocations: 38.67 kB / 3.35 GB, free: 27.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/8.495, allocations: 407.1 kB / 3.35 GB, free: 27.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/8.495, allocations: 212.5 kB / 3.351 GB, free: 27.06 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.06e-05/8.495, allocations: 15.56 kB / 3.351 GB, free: 27.06 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002456/8.495, allocations: 390.3 kB / 3.351 GB, free: 26.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006932/8.496, allocations: 353.9 kB / 3.351 GB, free: 26.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/8.497, allocations: 0.5428 MB / 3.352 GB, free: 26.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/8.498, allocations: 420.7 kB / 3.352 GB, free: 26.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.372e-06/8.498, allocations: 2.688 kB / 3.352 GB, free: 26.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002602/8.5, allocations: 1.187 MB / 3.353 GB, free: 26.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001123/8.501, allocations: 2.268 MB / 3.356 GB, free: 24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/8.501, allocations: 7.156 kB / 3.356 GB, free: 24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004129/8.506, allocations: 0.6326 MB / 3.356 GB, free: 23.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008576/8.507, allocations: 160.4 kB / 3.356 GB, free: 23.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/8.508, allocations: 1.258 MB / 3.358 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/8.51, allocations: 101.1 kB / 3.358 GB, free: 23.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/8.51, allocations: 46.14 kB / 3.358 GB, free: 23.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/8.51, allocations: 4.906 kB / 3.358 GB, free: 23.44 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002632/8.513, allocations: 1.05 MB / 3.359 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/8.513, allocations: 3.844 kB / 3.359 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/8.515, allocations: 397.7 kB / 3.359 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009637/8.516, allocations: 176.2 kB / 3.359 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/8.517, allocations: 1.054 MB / 3.36 GB, free: 22.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/8.518, allocations: 112.6 kB / 3.36 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/8.519, allocations: 36.7 kB / 3.36 GB, free: 22.85 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0003202/8.519, allocations: 152.6 kB / 3.361 GB, free: 22.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/8.519, allocations: 91.44 kB / 3.361 GB, free: 22.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/8.524, allocations: 3.229 MB / 3.364 GB, free: 22.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.984e-05/8.524, allocations: 35.7 kB / 3.364 GB, free: 22.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.701e-06/8.524, allocations: 3.812 kB / 3.364 GB, free: 22.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003451/8.527, allocations: 2.689 MB / 3.367 GB, free: 21.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006704/8.534, allocations: 4.48 MB / 3.371 GB, free: 21.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/8.534, allocations: 0 / 3.371 GB, free: 21.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/8.535, allocations: 177.5 kB / 3.371 GB, free: 21.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005028/8.535, allocations: 87.86 kB / 3.371 GB, free: 21.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.128e-05/8.536, allocations: 24.47 kB / 3.371 GB, free: 21.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006205/8.536, allocations: 0.6457 MB / 3.372 GB, free: 20.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.054e-06/8.536, allocations: 0 / 3.372 GB, free: 20.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004053/8.54, allocations: 2.743 MB / 3.374 GB, free: 20.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009525/8.541, allocations: 471.6 kB / 3.375 GB, free: 20.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/8.542, allocations: 17.75 kB / 3.375 GB, free: 20.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/8.543, allocations: 81.61 kB / 3.375 GB, free: 20.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/8.543, allocations: 67.08 kB / 3.375 GB, free: 20.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.391e-05/8.543, allocations: 31.47 kB / 3.375 GB, free: 20.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00139/8.544, allocations: 0.7853 MB / 3.376 GB, free: 19.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.28e-07/8.544, allocations: 4.781 kB / 3.376 GB, free: 19.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006557/8.551, allocations: 1.727 MB / 3.378 GB, free: 19.72 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00975/8.561, allocations: 1.964 MB / 3.379 GB, free: 19.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00344/8.564, allocations: 1.655 MB / 3.381 GB, free: 19.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.292e-06/8.564, allocations: 0 / 3.381 GB, free: 19.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/8.566, allocations: 0.8367 MB / 3.382 GB, free: 19.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/8.569, allocations: 477.3 kB / 3.382 GB, free: 19.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/8.574, allocations: 2.371 MB / 3.385 GB, free: 18.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/8.575, allocations: 1.349 MB / 3.386 GB, free: 17.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002387/8.577, allocations: 0.9687 MB / 3.387 GB, free: 17.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/8.577, allocations: 73.58 kB / 3.387 GB, free: 17.77 MB / 458.7 MB Notification: Performance of SimCode: time 2.739e-06/8.577, allocations: 4 kB / 3.387 GB, free: 17.76 MB / 458.7 MB Notification: Performance of Templates: time 0.3744/8.952, allocations: 54.41 MB / 3.44 GB, free: 52.05 MB / 458.7 MB