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.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.459e-05, allocations: 7.938 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3521, allocations: 48.69 MB / 324.9 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.2539/0.6061, allocations: 150.9 MB / 475.8 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3705/0.9766, allocations: 13.19 MB / 489 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.9782, allocations: 46.56 kB / 489 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.9801, allocations: 360 kB / 489.4 MB, free: 3.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008214/0.9883, allocations: 1.784 MB / 491.2 MB, free: 3.379 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009198/0.9976, allocations: 2.049 MB / 493.2 MB, free: 3.309 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004199/1.002, allocations: 1.169 MB / 494.4 MB, free: 3.301 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/1.004, allocations: 0.5066 MB / 494.9 MB, free: 3.293 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/1.007, allocations: 0.7821 MB / 495.7 MB, free: 3.293 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003502/1.011, allocations: 0.7914 MB / 496.5 MB, free: 3.289 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01156/1.022, allocations: 2.599 MB / 499.1 MB, free: 3.277 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002236/1.025, allocations: 166 kB / 499.2 MB, free: 3.273 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001173/1.026, allocations: 304.9 kB / 499.5 MB, free: 3.273 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/1.027, allocations: 109.6 kB / 499.6 MB, free: 3.273 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008986/1.036, allocations: 2.35 MB / 0.4902 GB, free: 3.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.036, allocations: 0 / 0.4902 GB, free: 3.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.727e-06/1.036, allocations: 0 / 0.4902 GB, free: 3.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.369e-05/1.036, allocations: 0 / 0.4902 GB, free: 3.09 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.008168/1.044, allocations: 1.503 MB / 0.4917 GB, free: 18.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/1.045, allocations: 10.28 kB / 0.4917 GB, free: 18.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/1.047, allocations: 202.6 kB / 0.4919 GB, free: 18.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/1.05, allocations: 0.7318 MB / 0.4926 GB, free: 17.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/1.051, allocations: 53.66 kB / 0.4926 GB, free: 17.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003608/1.051, allocations: 61.12 kB / 0.4927 GB, free: 17.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004617/1.056, allocations: 1.143 MB / 0.4938 GB, free: 17.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/1.056, allocations: 7.594 kB / 0.4938 GB, free: 17.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/1.056, allocations: 32.91 kB / 0.4939 GB, free: 17.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002452/1.056, allocations: 80.17 kB / 0.4939 GB, free: 17.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004955/1.061, allocations: 1.166 MB / 0.4951 GB, free: 17.72 MB / 426.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.02296/1.084, allocations: 4.322 MB / 0.4993 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003344/1.088, allocations: 0.7862 MB / 0.5001 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/1.088, allocations: 323 kB / 0.5004 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/1.088, allocations: 44.66 kB / 0.5004 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001327/1.09, allocations: 121.6 kB / 0.5005 GB, free: 15.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=61): time 4.328e-06/1.09, allocations: 0 / 0.5005 GB, free: 15.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.01407/1.104, allocations: 1.929 MB / 0.5024 GB, free: 15.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/1.104, allocations: 226.8 kB / 0.5026 GB, free: 14.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/1.106, allocations: 0.7183 MB / 0.5033 GB, free: 14.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003181/1.106, allocations: 36.02 kB / 0.5034 GB, free: 14.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/1.107, allocations: 485.5 kB / 0.5038 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/1.107, allocations: 214.9 kB / 0.504 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/1.107, allocations: 17.62 kB / 0.504 GB, free: 14.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/1.108, allocations: 345.9 kB / 0.5044 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/1.109, allocations: 394.2 kB / 0.5048 GB, free: 13.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/1.111, allocations: 0.6424 MB / 0.5054 GB, free: 13.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/1.113, allocations: 497.8 kB / 0.5059 GB, free: 13.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/1.113, allocations: 3.312 kB / 0.5059 GB, free: 13.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003995/1.117, allocations: 1.282 MB / 0.5071 GB, free: 13.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0011/1.118, allocations: 2.711 MB / 0.5098 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/1.118, allocations: 4.938 kB / 0.5098 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008758/1.127, allocations: 0.8422 MB / 0.5106 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.128, allocations: 181.7 kB / 0.5108 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/1.131, allocations: 1.188 MB / 0.5119 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/1.132, allocations: 58.86 kB / 0.512 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/1.133, allocations: 77.38 kB / 0.512 GB, free: 9.273 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.133, allocations: 5.781 kB / 0.5121 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004001/1.137, allocations: 1.147 MB / 0.5132 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/1.137, allocations: 8.719 kB / 0.5132 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009541/1.138, allocations: 152.4 kB / 0.5133 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/1.139, allocations: 216 kB / 0.5135 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004162/1.144, allocations: 2.181 MB / 0.5157 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/1.145, allocations: 54.25 kB / 0.5157 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/1.145, allocations: 76.19 kB / 0.5158 GB, free: 7.559 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.000811/1.146, allocations: 284.7 kB / 0.5161 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/1.146, allocations: 106.4 kB / 0.5162 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005064/1.151, allocations: 1.356 MB / 0.5175 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.151, allocations: 8.688 kB / 0.5175 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.151, allocations: 0 / 0.5175 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/1.152, allocations: 3.984 kB / 0.5175 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0055/1.157, allocations: 1.968 MB / 0.5194 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.157, allocations: 0 / 0.5194 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/1.158, allocations: 90.05 kB / 0.5195 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005605/1.163, allocations: 0.6893 MB / 0.5202 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/1.164, allocations: 23.27 kB / 0.5202 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/1.166, allocations: 1.176 MB / 0.5213 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.166, allocations: 3.375 kB / 0.5214 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/1.169, allocations: 1.195 MB / 0.5225 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/1.17, allocations: 175.5 kB / 0.5227 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/1.17, allocations: 17.16 kB / 0.5227 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.171, allocations: 45.34 kB / 0.5227 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/1.172, allocations: 50.03 kB / 0.5228 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/1.172, allocations: 40.77 kB / 0.5228 GB, free: 4.727 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001181/1.173, allocations: 0.5618 MB / 0.5234 GB, free: 4.555 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.173, allocations: 0 / 0.5234 GB, free: 4.555 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004712/1.178, allocations: 1.034 MB / 0.5244 GB, free: 4.363 MB / 426.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.003944/1.182, allocations: 0.9206 MB / 0.5253 GB, free: 3.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005375/1.187, allocations: 1.617 MB / 0.5269 GB, free: 3.633 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/1.187, allocations: 6.938 kB / 0.5269 GB, free: 3.629 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/1.189, allocations: 419.5 kB / 0.5273 GB, free: 3.562 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/1.193, allocations: 479.7 kB / 0.5277 GB, free: 3.406 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/1.198, allocations: 2.002 MB / 0.5297 GB, free: 2.273 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008768/1.199, allocations: 1.073 MB / 0.5307 GB, free: 1.414 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008482/1.2, allocations: 121.4 kB / 0.5309 GB, free: 1.387 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/1.2, allocations: 0 / 0.5309 GB, free: 1.387 MB / 426.7 MB Notification: Performance of Templates: time 0.06099/1.261, allocations: 25.88 MB / 0.5561 GB, free: 8.633 MB / 458.7 MB