Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadModel(ModelicaTest): time 2.127/2.127, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.444e-05, allocations: 4 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3237, allocations: 54.85 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.449/1.773, allocations: 0.628 GB / 0.9793 GB, free: 124.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/1.773, allocations: 83.95 kB / 0.9794 GB, free: 124.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.638/3.411, allocations: 352.9 MB / 1.324 GB, free: 65.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.021e-06/3.411, allocations: 3.094 kB / 1.324 GB, free: 65.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.398e-05/3.412, allocations: 32.48 kB / 1.324 GB, free: 65.02 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004303/3.416, allocations: 1.559 MB / 1.326 GB, free: 64.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/3.416, allocations: 7.25 kB / 1.326 GB, free: 64.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/3.417, allocations: 196.4 kB / 1.326 GB, free: 64.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/3.419, allocations: 0.8334 MB / 1.327 GB, free: 64.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/3.42, allocations: 56.64 kB / 1.327 GB, free: 64.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/3.42, allocations: 61.62 kB / 1.327 GB, free: 64.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/3.422, allocations: 1.119 MB / 1.328 GB, free: 63.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/3.422, allocations: 0 / 1.328 GB, free: 63.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/3.422, allocations: 28.5 kB / 1.328 GB, free: 63.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/3.422, allocations: 79.95 kB / 1.328 GB, free: 63.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/3.425, allocations: 1.097 MB / 1.329 GB, free: 63.96 MB / 490.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.008186/3.433, allocations: 4.302 MB / 1.333 GB, free: 62.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/3.435, allocations: 0.7311 MB / 1.334 GB, free: 62.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/3.435, allocations: 354.6 kB / 1.334 GB, free: 62.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/3.436, allocations: 325.6 kB / 1.335 GB, free: 61.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/3.436, allocations: 44.22 kB / 1.335 GB, free: 61.81 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007968/3.436, allocations: 118.5 kB / 1.335 GB, free: 61.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=61): time 4.649e-06/3.436, allocations: 10.06 kB / 1.335 GB, free: 61.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.003353/3.44, allocations: 1.06 MB / 1.336 GB, free: 61.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/3.44, allocations: 216.5 kB / 1.336 GB, free: 61.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/3.441, allocations: 0.713 MB / 1.337 GB, free: 61.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.454e-05/3.441, allocations: 38.36 kB / 1.337 GB, free: 61.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/3.441, allocations: 473.3 kB / 1.337 GB, free: 61.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/3.442, allocations: 215.5 kB / 1.337 GB, free: 60.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/3.442, allocations: 17.88 kB / 1.337 GB, free: 60.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.887e-05/3.442, allocations: 350.2 kB / 1.338 GB, free: 60.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007715/3.443, allocations: 359.8 kB / 1.338 GB, free: 60.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009155/3.444, allocations: 0.5951 MB / 1.339 GB, free: 60.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000969/3.445, allocations: 454.8 kB / 1.339 GB, free: 60.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.433e-06/3.445, allocations: 3.375 kB / 1.339 GB, free: 60.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002771/3.447, allocations: 1.183 MB / 1.34 GB, free: 60.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004589/3.448, allocations: 2.443 MB / 1.343 GB, free: 57.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/3.448, allocations: 7.594 kB / 1.343 GB, free: 57.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005767/3.454, allocations: 0.8135 MB / 1.343 GB, free: 57.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009453/3.455, allocations: 172.8 kB / 1.344 GB, free: 57.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/3.456, allocations: 1.192 MB / 1.345 GB, free: 57.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/3.458, allocations: 68.16 kB / 1.345 GB, free: 57.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/3.458, allocations: 79.08 kB / 1.345 GB, free: 57.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/3.458, allocations: 3.812 kB / 1.345 GB, free: 57.17 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002686/3.461, allocations: 1.048 MB / 1.346 GB, free: 57.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/3.461, allocations: 7.344 kB / 1.346 GB, free: 57.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007078/3.461, allocations: 144.8 kB / 1.346 GB, free: 57.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009525/3.462, allocations: 204.5 kB / 1.346 GB, free: 57.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/3.465, allocations: 2.108 MB / 1.348 GB, free: 55.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008361/3.466, allocations: 63.2 kB / 1.348 GB, free: 55.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/3.466, allocations: 72.17 kB / 1.348 GB, free: 55.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002889/3.467, allocations: 159.7 kB / 1.349 GB, free: 55.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/3.467, allocations: 94.03 kB / 1.349 GB, free: 55.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/3.47, allocations: 1.274 MB / 1.35 GB, free: 55.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/3.471, allocations: 6.469 kB / 1.35 GB, free: 55.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.463e-06/3.471, allocations: 0 / 1.35 GB, free: 55.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/3.471, allocations: 6.484 kB / 1.35 GB, free: 55.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/3.474, allocations: 1.9 MB / 1.352 GB, free: 55.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.725e-06/3.474, allocations: 0 / 1.352 GB, free: 55.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/3.475, allocations: 81.3 kB / 1.352 GB, free: 55.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004801/3.48, allocations: 0.6759 MB / 1.353 GB, free: 55.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/3.48, allocations: 26.8 kB / 1.353 GB, free: 55.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/3.481, allocations: 1.164 MB / 1.354 GB, free: 54.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.516e-06/3.481, allocations: 9.688 kB / 1.354 GB, free: 54.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/3.484, allocations: 1.137 MB / 1.355 GB, free: 54.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/3.484, allocations: 174.7 kB / 1.355 GB, free: 54.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/3.484, allocations: 15 kB / 1.355 GB, free: 54.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008819/3.485, allocations: 48.03 kB / 1.355 GB, free: 54.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/3.485, allocations: 49.53 kB / 1.355 GB, free: 54.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/3.485, allocations: 47.58 kB / 1.355 GB, free: 54.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008972/3.486, allocations: 0.5594 MB / 1.356 GB, free: 54.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.67e-07/3.486, allocations: 0 / 1.356 GB, free: 54.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003934/3.49, allocations: 1.226 MB / 1.357 GB, free: 53.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.003967/3.494, allocations: 1.833 MB / 1.359 GB, free: 53.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003378/3.498, allocations: 1.463 MB / 1.36 GB, free: 53.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.257e-06/3.498, allocations: 1.125 kB / 1.36 GB, free: 53.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008905/3.499, allocations: 390.1 kB / 1.36 GB, free: 53.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/3.501, allocations: 488.5 kB / 1.361 GB, free: 53.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/3.514, allocations: 2.955 MB / 1.364 GB, free: 53.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009515/3.515, allocations: 1.063 MB / 1.365 GB, free: 52.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/3.516, allocations: 124.6 kB / 1.365 GB, free: 52.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.543e-06/3.516, allocations: 2.812 kB / 1.365 GB, free: 52.3 MB / 490.7 MB Notification: Performance of Templates: time 0.07535/3.591, allocations: 30.06 MB / 1.394 GB, free: 50.24 MB / 490.7 MB