Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadModel(ModelicaTest): time 2.148/2.148, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.394e-05, allocations: 4 kB / 276.2 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.383, allocations: 48.7 MB / 324.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2429/0.6259, allocations: 140.8 MB / 465.6 MB, free: 2.453 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01817/0.6442, allocations: 8.683 MB / 474.3 MB, free: 9.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008694/0.6451, allocations: 19.88 kB / 474.4 MB, free: 9.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.6462, allocations: 254.6 kB / 474.6 MB, free: 9.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006622/0.6529, allocations: 1.561 MB / 476.2 MB, free: 7.914 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.656, allocations: 0.7171 MB / 476.9 MB, free: 7.195 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002408/0.6585, allocations: 0.7739 MB / 477.7 MB, free: 6.422 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008218/0.6593, allocations: 301.6 kB / 477.9 MB, free: 6.129 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.6615, allocations: 0.6275 MB / 478.6 MB, free: 5.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008479/0.6624, allocations: 351 kB / 478.9 MB, free: 5.156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003994/0.6664, allocations: 1.233 MB / 480.1 MB, free: 3.922 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005735/0.667, allocations: 68 kB / 480.2 MB, free: 3.855 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.6673, allocations: 135.5 kB / 480.3 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.6676, allocations: 76 kB / 480.4 MB, free: 3.648 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.6706, allocations: 1.137 MB / 481.6 MB, free: 2.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.6707, allocations: 4 kB / 481.6 MB, free: 2.508 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6707, allocations: 3.938 kB / 481.6 MB, free: 2.504 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.6707, allocations: 0 / 481.6 MB, free: 2.504 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002593/0.6733, allocations: 0.9124 MB / 482.5 MB, free: 1.543 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.6734, allocations: 8.031 kB / 482.5 MB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.6752, allocations: 155.1 kB / 482.6 MB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.6764, allocations: 484.7 kB / 483.1 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.6765, allocations: 33 kB / 483.1 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.6766, allocations: 40 kB / 483.2 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.6784, allocations: 0.6396 MB / 483.8 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.6784, allocations: 0 / 483.8 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.6785, allocations: 24 kB / 483.8 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.6786, allocations: 12 kB / 483.9 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2643/0.9429, allocations: 494.4 kB / 484.3 MB, free: 142.8 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.004562/0.9475, allocations: 2.596 MB / 486.9 MB, free: 140.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.9487, allocations: 306.3 kB / 487.2 MB, free: 140.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000494/0.9493, allocations: 326.8 kB / 487.6 MB, free: 140.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.9493, allocations: 40.47 kB / 487.6 MB, free: 140.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.887e-06/0.9493, allocations: 1.203 kB / 487.6 MB, free: 140.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.002616/0.952, allocations: 0.6846 MB / 488.3 MB, free: 140.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.9521, allocations: 163.1 kB / 488.4 MB, free: 139.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007584/0.9528, allocations: 401.4 kB / 488.8 MB, free: 139.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/0.9529, allocations: 31.67 kB / 488.9 MB, free: 139.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.9532, allocations: 361.3 kB / 489.2 MB, free: 139.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.9533, allocations: 131.3 kB / 489.3 MB, free: 139.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.9534, allocations: 9.188 kB / 489.4 MB, free: 139.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.9535, allocations: 331.1 kB / 489.7 MB, free: 138.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.954, allocations: 143.7 kB / 489.8 MB, free: 138.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/0.9547, allocations: 369.8 kB / 490.2 MB, free: 138.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.9553, allocations: 210.8 kB / 490.4 MB, free: 138.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.9553, allocations: 3 kB / 490.4 MB, free: 138.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001645/0.957, allocations: 0.5649 MB / 491 MB, free: 138.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.957, allocations: 8.859 kB / 491 MB, free: 138.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.9571, allocations: 10.83 kB / 491 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002871/0.9599, allocations: 294.2 kB / 491.3 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008775/0.9609, allocations: 130 kB / 491.4 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005846/0.9615, allocations: 0.5869 MB / 492 MB, free: 137.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/0.9623, allocations: 66.8 kB / 492 MB, free: 137.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.9624, allocations: 56.55 kB / 492.1 MB, free: 137.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003806/0.9628, allocations: 192.8 kB / 492.3 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.963, allocations: 54.28 kB / 492.3 MB, free: 137.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/0.9659, allocations: 0.7235 MB / 493.1 MB, free: 137.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.9659, allocations: 7.688 kB / 493.1 MB, free: 137.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.9659, allocations: 0 / 493.1 MB, free: 137.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.966, allocations: 3.531 kB / 493.1 MB, free: 137.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/0.9695, allocations: 1.551 MB / 494.6 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.9696, allocations: 4.797 kB / 494.6 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/0.9701, allocations: 77.31 kB / 494.7 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00633/0.9765, allocations: 0.5353 MB / 495.2 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.9767, allocations: 16.19 kB / 495.3 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000559/0.9772, allocations: 0.5915 MB / 495.8 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.9773, allocations: 4.062 kB / 495.8 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.9788, allocations: 0.7247 MB / 496.6 MB, free: 135 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003952/0.9792, allocations: 184 kB / 496.8 MB, free: 134.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.9794, allocations: 13.5 kB / 496.8 MB, free: 134.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/0.9799, allocations: 29.16 kB / 496.8 MB, free: 134.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.98, allocations: 38.23 kB / 496.8 MB, free: 134.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/0.9801, allocations: 34.03 kB / 496.9 MB, free: 134.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005717/0.9807, allocations: 321.1 kB / 497.2 MB, free: 134.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9807, allocations: 0 / 497.2 MB, free: 134.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001616/0.9823, allocations: 341.1 kB / 497.5 MB, free: 134.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/0.9841, allocations: 470 kB / 498 MB, free: 134.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.9857, allocations: 424.6 kB / 498.4 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.9858, allocations: 5.719 kB / 498.4 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006721/0.9865, allocations: 204.4 kB / 498.6 MB, free: 134.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/0.9894, allocations: 289.5 kB / 498.9 MB, free: 134.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.9921, allocations: 1.227 MB / 0.4884 GB, free: 133.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.9927, allocations: 0.8859 MB / 0.4892 GB, free: 132.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006925/0.9934, allocations: 104 kB / 0.4893 GB, free: 132.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.9934, allocations: 0 / 0.4893 GB, free: 132.6 MB / 410.7 MB Notification: Performance of Templates: time 0.0345/1.028, allocations: 14.35 MB / 0.5034 GB, free: 124.9 MB / 410.7 MB