Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadModel(ModelicaTest): time 1.879/1.879, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.639e-05, allocations: 4 kB / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08609, allocations: 48.7 MB / 321.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.324/6.411, allocations: 2.545 GB / 2.859 GB, free: 103 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/6.411, allocations: 70.53 kB / 2.859 GB, free: 103 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.782/8.193, allocations: 453 MB / 3.301 GB, free: 3.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.427e-06/8.193, allocations: 0 / 3.301 GB, free: 3.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.517e-05/8.193, allocations: 27.94 kB / 3.301 GB, free: 3.152 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.007694/8.2, allocations: 2.092 MB / 3.303 GB, free: 1.023 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/8.2, allocations: 8.031 kB / 3.303 GB, free: 1.016 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/8.204, allocations: 361.9 kB / 3.304 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2731/8.477, allocations: 0.8745 MB / 3.304 GB, free: 33.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/8.477, allocations: 71 kB / 3.305 GB, free: 33.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/8.478, allocations: 76.41 kB / 3.305 GB, free: 33.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004209/8.482, allocations: 1.448 MB / 3.306 GB, free: 33.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/8.482, allocations: 5.719 kB / 3.306 GB, free: 33.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/8.482, allocations: 40.75 kB / 3.306 GB, free: 33.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/8.482, allocations: 56.42 kB / 3.306 GB, free: 33.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003846/8.486, allocations: 1.231 MB / 3.307 GB, free: 33.08 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.01099/8.497, allocations: 6.55 MB / 3.314 GB, free: 28.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/8.501, allocations: 0.9281 MB / 3.315 GB, free: 28.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008265/8.501, allocations: 391.7 kB / 3.315 GB, free: 28.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07207/8.573, allocations: 32.04 MB / 3.346 GB, free: 25.47 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.325e-05/8.574, allocations: 43.22 kB / 3.346 GB, free: 25.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 4.072e-06/8.574, allocations: 0 / 3.346 GB, free: 25.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=61): time 0.008863/8.582, allocations: 2.797 MB / 3.349 GB, free: 24.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/8.583, allocations: 189.5 kB / 3.349 GB, free: 24.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/8.584, allocations: 0.6405 MB / 3.35 GB, free: 24.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001595/8.584, allocations: 37.77 kB / 3.35 GB, free: 24.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/8.584, allocations: 426.4 kB / 3.35 GB, free: 24.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/8.585, allocations: 214.1 kB / 3.351 GB, free: 24.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/8.585, allocations: 18 kB / 3.351 GB, free: 24.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/8.585, allocations: 342.3 kB / 3.351 GB, free: 23.81 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006885/8.585, allocations: 348.8 kB / 3.351 GB, free: 23.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007617/8.586, allocations: 0.5395 MB / 3.352 GB, free: 23.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007734/8.587, allocations: 418.5 kB / 3.352 GB, free: 23.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/8.587, allocations: 1.219 kB / 3.352 GB, free: 23.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002457/8.59, allocations: 1.138 MB / 3.353 GB, free: 23.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001111/8.591, allocations: 2.276 MB / 3.355 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/8.591, allocations: 6.281 kB / 3.355 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004129/8.595, allocations: 0.6293 MB / 3.356 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/8.596, allocations: 159.9 kB / 3.356 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/8.598, allocations: 1.259 MB / 3.357 GB, free: 20.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/8.599, allocations: 99.02 kB / 3.358 GB, free: 20.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/8.599, allocations: 41.8 kB / 3.358 GB, free: 20.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/8.599, allocations: 7.625 kB / 3.358 GB, free: 20.61 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002634/8.602, allocations: 1.054 MB / 3.359 GB, free: 20.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/8.602, allocations: 3.844 kB / 3.359 GB, free: 20.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/8.604, allocations: 386.8 kB / 3.359 GB, free: 20.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009154/8.605, allocations: 169.5 kB / 3.359 GB, free: 20.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/8.606, allocations: 1.059 MB / 3.36 GB, free: 20.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/8.607, allocations: 104.6 kB / 3.36 GB, free: 20.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/8.608, allocations: 37.97 kB / 3.36 GB, free: 20.04 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.0003277/8.608, allocations: 149.6 kB / 3.36 GB, free: 19.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/8.608, allocations: 89.02 kB / 3.361 GB, free: 19.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004604/8.613, allocations: 3.241 MB / 3.364 GB, free: 19.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.984e-05/8.613, allocations: 31.34 kB / 3.364 GB, free: 19.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/8.613, allocations: 7.719 kB / 3.364 GB, free: 19.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003425/8.616, allocations: 2.69 MB / 3.366 GB, free: 19.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00662/8.623, allocations: 4.481 MB / 3.371 GB, free: 18.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/8.623, allocations: 0 / 3.371 GB, free: 18.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/8.624, allocations: 173.2 kB / 3.371 GB, free: 18.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/8.625, allocations: 98.7 kB / 3.371 GB, free: 18.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.48e-05/8.625, allocations: 19.83 kB / 3.371 GB, free: 18.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005839/8.625, allocations: 0.6447 MB / 3.372 GB, free: 18.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.713e-06/8.625, allocations: 3.062 kB / 3.372 GB, free: 18.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/8.629, allocations: 2.743 MB / 3.374 GB, free: 17.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009496/8.63, allocations: 457.8 kB / 3.375 GB, free: 17.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/8.631, allocations: 18.67 kB / 3.375 GB, free: 17.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/8.632, allocations: 91.61 kB / 3.375 GB, free: 17.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/8.632, allocations: 57.05 kB / 3.375 GB, free: 17.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.014e-05/8.632, allocations: 31.53 kB / 3.375 GB, free: 17.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001341/8.633, allocations: 0.7914 MB / 3.376 GB, free: 17.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.61e-07/8.633, allocations: 0 / 3.376 GB, free: 17.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006785/8.64, allocations: 1.721 MB / 3.377 GB, free: 17.33 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.009841/8.65, allocations: 1.973 MB / 3.379 GB, free: 17.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003451/8.653, allocations: 1.626 MB / 3.381 GB, free: 17.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.39e-06/8.654, allocations: 0 / 3.381 GB, free: 17.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/8.655, allocations: 0.8363 MB / 3.382 GB, free: 17.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/8.658, allocations: 470.9 kB / 3.382 GB, free: 17.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/8.663, allocations: 2.414 MB / 3.385 GB, free: 16.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/8.664, allocations: 1.337 MB / 3.386 GB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/8.664, allocations: 86.28 kB / 3.386 GB, free: 15.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.655e-06/8.664, allocations: 0 / 3.386 GB, free: 15.8 MB / 458.7 MB Notification: Performance of Templates: time 0.07117/8.735, allocations: 45.67 MB / 3.431 GB, free: 11.82 MB / 458.7 MB