Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.3 MB / 224.4 MB, free: 0.6562 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.26e-05, allocations: 4 kB / 276.2 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3586, allocations: 48.7 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2484/0.6071, allocations: 141.8 MB / 466.7 MB, free: 1.43 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008795/0.616, allocations: 4.037 MB / 470.7 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006941/0.6167, allocations: 27.81 kB / 470.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008826/0.6176, allocations: 226.7 kB / 471 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003879/0.6215, allocations: 0.9616 MB / 471.9 MB, free: 12.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.6237, allocations: 0.4989 MB / 472.4 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.6258, allocations: 0.6445 MB / 473.1 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007518/0.6266, allocations: 288.2 kB / 473.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.6281, allocations: 454.9 kB / 473.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007859/0.6289, allocations: 291.1 kB / 474.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003262/0.6322, allocations: 0.7881 MB / 474.9 MB, free: 9.227 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003547/0.6326, allocations: 56 kB / 474.9 MB, free: 9.172 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.6329, allocations: 111.6 kB / 475 MB, free: 9.062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.6332, allocations: 68 kB / 475.1 MB, free: 8.996 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.6354, allocations: 0.8815 MB / 476 MB, free: 8.117 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6355, allocations: 4 kB / 476 MB, free: 8.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6355, allocations: 0 / 476 MB, free: 8.113 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.6355, allocations: 0 / 476 MB, free: 8.113 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002701/0.6382, allocations: 0.8229 MB / 476.8 MB, free: 7.242 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.6383, allocations: 15.97 kB / 476.8 MB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.6404, allocations: 139.2 kB / 476.9 MB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.6417, allocations: 444.8 kB / 477.4 MB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.6418, allocations: 29 kB / 477.4 MB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.642, allocations: 40 kB / 477.5 MB, free: 6.547 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.6442, allocations: 0.5476 MB / 478 MB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.6443, allocations: 0 / 478 MB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.6444, allocations: 24 kB / 478 MB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.6445, allocations: 8 kB / 478 MB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.6465, allocations: 415.6 kB / 478.4 MB, free: 5.523 MB / 410.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.005207/0.6517, allocations: 2.53 MB / 481 MB, free: 2.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.653, allocations: 290.6 kB / 481.2 MB, free: 2.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008157/0.6538, allocations: 329.2 kB / 481.6 MB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.6539, allocations: 42.5 kB / 481.6 MB, free: 2.055 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.767e-06/0.6539, allocations: 0 / 481.6 MB, free: 2.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.004224/0.6581, allocations: 0.6633 MB / 482.3 MB, free: 1.363 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.6583, allocations: 132.5 kB / 482.4 MB, free: 1.203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008398/0.6591, allocations: 352.9 kB / 482.7 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.21e-05/0.6592, allocations: 33.7 kB / 482.8 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.6596, allocations: 334 kB / 483.1 MB, free: 496 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.6598, allocations: 98.5 kB / 483.2 MB, free: 396 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/0.6599, allocations: 12 kB / 483.2 MB, free: 384 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.6601, allocations: 326.8 kB / 483.5 MB, free: 48 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3032/0.9632, allocations: 138.5 kB / 483.7 MB, free: 142.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007146/0.964, allocations: 305.5 kB / 484 MB, free: 142.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/0.9646, allocations: 190.4 kB / 484.2 MB, free: 142.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.9647, allocations: 1.031 kB / 484.2 MB, free: 142.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001682/0.9664, allocations: 0.5237 MB / 484.7 MB, free: 142.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.9664, allocations: 13.34 kB / 484.7 MB, free: 142.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.9664, allocations: 4.844 kB / 484.7 MB, free: 142.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004054/0.9705, allocations: 331.1 kB / 485 MB, free: 142.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008009/0.9714, allocations: 117.6 kB / 485.1 MB, free: 142.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.9724, allocations: 0.59 MB / 485.7 MB, free: 141.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/0.9732, allocations: 61.8 kB / 485.8 MB, free: 141.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.9734, allocations: 50.92 kB / 485.8 MB, free: 141.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003636/0.9738, allocations: 180.8 kB / 486 MB, free: 141.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.9739, allocations: 53.09 kB / 486.1 MB, free: 141.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.9768, allocations: 0.6846 MB / 486.7 MB, free: 141.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.9769, allocations: 4.547 kB / 486.8 MB, free: 141.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.9769, allocations: 0 / 486.8 MB, free: 141.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.9769, allocations: 1.406 kB / 486.8 MB, free: 141.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.9798, allocations: 1.135 MB / 487.9 MB, free: 140.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.9798, allocations: 3.75 kB / 487.9 MB, free: 140.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.9803, allocations: 52.86 kB / 487.9 MB, free: 140.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003264/0.9835, allocations: 303.6 kB / 488.2 MB, free: 140.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.532e-05/0.9837, allocations: 14.62 kB / 488.3 MB, free: 140.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005376/0.9842, allocations: 0.5698 MB / 488.8 MB, free: 140 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9842, allocations: 2.125 kB / 488.8 MB, free: 140 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.9856, allocations: 0.5899 MB / 489.4 MB, free: 139.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.9859, allocations: 141.1 kB / 489.6 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.986, allocations: 9.297 kB / 489.6 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005389/0.9866, allocations: 33.39 kB / 489.6 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.9867, allocations: 33.12 kB / 489.6 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/0.9868, allocations: 18.44 kB / 489.6 MB, free: 139.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005734/0.9874, allocations: 300.6 kB / 489.9 MB, free: 139.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.472e-06/0.9874, allocations: 0 / 489.9 MB, free: 139.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001241/0.9886, allocations: 262.9 kB / 490.2 MB, free: 139.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.9898, allocations: 364.5 kB / 490.6 MB, free: 139.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.9917, allocations: 371.3 kB / 490.9 MB, free: 139 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.9918, allocations: 1 kB / 490.9 MB, free: 139 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006437/0.9924, allocations: 172.9 kB / 491.1 MB, free: 138.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.9944, allocations: 221.9 kB / 491.3 MB, free: 138.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.9967, allocations: 1.096 MB / 492.4 MB, free: 138.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.9972, allocations: 0.8643 MB / 493.3 MB, free: 137.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005843/0.9978, allocations: 96.44 kB / 493.4 MB, free: 137.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.9978, allocations: 4 kB / 493.4 MB, free: 137.4 MB / 410.7 MB Notification: Performance of Templates: time 0.02883/1.027, allocations: 12.27 MB / 0.4938 GB, free: 132.4 MB / 410.7 MB