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.433/2.433, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.622e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3798, allocations: 54.85 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.6277/1.008, allocations: 151 MB / 0.5018 GB, free: 2.504 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02392/1.032, allocations: 13.23 MB / 0.5147 GB, free: 2.297 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/1.033, allocations: 48.28 kB / 0.5147 GB, free: 2.297 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001798/1.035, allocations: 351.8 kB / 0.5151 GB, free: 2.293 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00788/1.043, allocations: 1.795 MB / 0.5168 GB, free: 2.23 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008052/1.051, allocations: 2.043 MB / 0.5188 GB, free: 2.164 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00332/1.054, allocations: 1.166 MB / 0.5199 GB, free: 2.16 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/1.056, allocations: 0.51 MB / 0.5204 GB, free: 2.148 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/1.058, allocations: 0.7787 MB / 0.5212 GB, free: 2.148 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/1.061, allocations: 0.8019 MB / 0.522 GB, free: 2.141 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007965/1.069, allocations: 2.598 MB / 0.5245 GB, free: 2.125 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001707/1.071, allocations: 161.5 kB / 0.5247 GB, free: 2.125 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008999/1.072, allocations: 309.5 kB / 0.525 GB, free: 2.125 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007319/1.072, allocations: 108.6 kB / 0.5251 GB, free: 2.125 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006653/1.079, allocations: 2.343 MB / 0.5274 GB, free: 1.941 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.079, allocations: 0 / 0.5274 GB, free: 1.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.447e-06/1.079, allocations: 3 kB / 0.5274 GB, free: 1.941 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.657e-05/1.079, allocations: 4 kB / 0.5274 GB, free: 1.938 MB / 426.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.005715/1.085, allocations: 1.503 MB / 0.5288 GB, free: 16.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.085, allocations: 7.875 kB / 0.5288 GB, free: 16.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/1.087, allocations: 194.1 kB / 0.529 GB, free: 16.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/1.089, allocations: 0.7392 MB / 0.5298 GB, free: 16.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/1.089, allocations: 53.67 kB / 0.5298 GB, free: 16.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/1.089, allocations: 63.8 kB / 0.5299 GB, free: 16.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003242/1.093, allocations: 1.139 MB / 0.531 GB, free: 16.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/1.093, allocations: 0 / 0.531 GB, free: 16.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/1.093, allocations: 31.25 kB / 0.531 GB, free: 16.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001872/1.093, allocations: 81.72 kB / 0.5311 GB, free: 16.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003822/1.097, allocations: 1.175 MB / 0.5322 GB, free: 15.83 MB / 442.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.01285/1.11, allocations: 4.326 MB / 0.5365 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/1.112, allocations: 0.7813 MB / 0.5372 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000533/1.113, allocations: 331.3 kB / 0.5375 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/1.113, allocations: 41.48 kB / 0.5376 GB, free: 12.81 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001213/1.114, allocations: 119.5 kB / 0.5377 GB, free: 12.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=61): time 5.099e-06/1.114, allocations: 0 / 0.5377 GB, free: 12.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.01095/1.125, allocations: 1.925 MB / 0.5396 GB, free: 12.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/1.126, allocations: 215.2 kB / 0.5398 GB, free: 11.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/1.127, allocations: 0.7281 MB / 0.5405 GB, free: 11.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002433/1.127, allocations: 39.33 kB / 0.5405 GB, free: 11.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005082/1.128, allocations: 479 kB / 0.541 GB, free: 11.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/1.128, allocations: 218.2 kB / 0.5412 GB, free: 11.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/1.128, allocations: 19.25 kB / 0.5412 GB, free: 11.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/1.129, allocations: 345.2 kB / 0.5415 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/1.13, allocations: 394.5 kB / 0.5419 GB, free: 10.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/1.131, allocations: 0.6453 MB / 0.5425 GB, free: 10.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/1.133, allocations: 490.1 kB / 0.543 GB, free: 10.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/1.133, allocations: 0 / 0.543 GB, free: 10.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003637/1.136, allocations: 1.292 MB / 0.5443 GB, free: 10.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001245/1.138, allocations: 2.697 MB / 0.5469 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/1.138, allocations: 9.375 kB / 0.5469 GB, free: 7.285 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008382/1.146, allocations: 0.8463 MB / 0.5477 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.147, allocations: 183 kB / 0.5479 GB, free: 6.973 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/1.15, allocations: 1.188 MB / 0.5491 GB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.151, allocations: 63.16 kB / 0.5491 GB, free: 6.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/1.152, allocations: 74.48 kB / 0.5492 GB, free: 6.309 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.152, allocations: 7.562 kB / 0.5492 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003743/1.155, allocations: 1.149 MB / 0.5503 GB, free: 6.117 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.155, allocations: 5.781 kB / 0.5503 GB, free: 6.117 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009226/1.156, allocations: 152.2 kB / 0.5505 GB, free: 6.078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.158, allocations: 215.2 kB / 0.5507 GB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004049/1.162, allocations: 2.182 MB / 0.5528 GB, free: 4.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/1.163, allocations: 59.73 kB / 0.5529 GB, free: 4.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/1.163, allocations: 73.98 kB / 0.553 GB, free: 4.578 MB / 442.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.0008237/1.164, allocations: 291.8 kB / 0.5532 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/1.164, allocations: 91.16 kB / 0.5533 GB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/1.169, allocations: 1.36 MB / 0.5546 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/1.169, allocations: 9.234 kB / 0.5547 GB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.169, allocations: 3.938 kB / 0.5547 GB, free: 4.008 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/1.169, allocations: 3.984 kB / 0.5547 GB, free: 4.004 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005001/1.174, allocations: 1.967 MB / 0.5566 GB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/1.175, allocations: 3.281 kB / 0.5566 GB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/1.175, allocations: 81.3 kB / 0.5567 GB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005473/1.181, allocations: 0.7018 MB / 0.5573 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/1.181, allocations: 23.36 kB / 0.5574 GB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/1.183, allocations: 1.168 MB / 0.5585 GB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/1.183, allocations: 4.656 kB / 0.5585 GB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/1.186, allocations: 1.194 MB / 0.5597 GB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/1.187, allocations: 171.3 kB / 0.5598 GB, free: 1.281 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/1.187, allocations: 14.8 kB / 0.5599 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.188, allocations: 44.16 kB / 0.5599 GB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/1.188, allocations: 55.08 kB / 0.56 GB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/1.189, allocations: 47.3 kB / 0.56 GB, free: 1.148 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001229/1.19, allocations: 0.5631 MB / 0.5605 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/1.19, allocations: 2.812 kB / 0.5606 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004312/1.194, allocations: 1.04 MB / 0.5616 GB, free: 15.75 MB / 458.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.003713/1.198, allocations: 0.8992 MB / 0.5624 GB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00524/1.203, allocations: 1.605 MB / 0.564 GB, free: 13.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.203, allocations: 0 / 0.564 GB, free: 13.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/1.205, allocations: 431.8 kB / 0.5644 GB, free: 13.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004073/1.209, allocations: 481.3 kB / 0.5649 GB, free: 13.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/1.213, allocations: 2 MB / 0.5668 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009365/1.214, allocations: 1.067 MB / 0.5679 GB, free: 10.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008445/1.215, allocations: 122.7 kB / 0.568 GB, free: 10.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/1.215, allocations: 0 / 0.568 GB, free: 10.07 MB / 458.7 MB Notification: Performance of Templates: time 0.06111/1.276, allocations: 25.88 MB / 0.5933 GB, free: 416 kB / 474.7 MB