Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|eps_m_flow_turbulent|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|orifice.port_b.m_flow|orifice.port_b.p|orifice.port_b.h_outflow|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|p_set.y|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.368/2.368, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.932e-05, allocations: 7.109 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3721, allocations: 54.84 MB / 362.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent): time 0.1017/0.4739, allocations: 58.91 MB / 421.8 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05438/0.5284, allocations: 20.28 MB / 442.1 MB, free: 14.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.5309, allocations: 63.5 kB / 442.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003281/0.5342, allocations: 0.6257 MB / 442.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02307/0.5573, allocations: 4.498 MB / 447.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01297/0.5703, allocations: 3.194 MB / 450.4 MB, free: 5.992 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004383/0.5747, allocations: 1.607 MB / 452.1 MB, free: 4.379 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.5765, allocations: 0.7143 MB / 452.8 MB, free: 3.664 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/0.5802, allocations: 1.106 MB / 453.9 MB, free: 2.555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03603/0.6163, allocations: 14.86 MB / 468.7 MB, free: 3.691 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03119/0.6475, allocations: 10.64 MB / 479.4 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003593/0.6511, allocations: 496 kB / 479.8 MB, free: 8.562 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009767/0.6522, allocations: 386.8 kB / 480.2 MB, free: 8.184 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.6529, allocations: 167.9 kB / 480.4 MB, free: 8.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.6655, allocations: 4.572 MB / 485 MB, free: 3.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6655, allocations: 0 / 485 MB, free: 3.438 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.6655, allocations: 0 / 485 MB, free: 3.438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.84e-05/0.6656, allocations: 4 kB / 485 MB, free: 3.434 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: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01229/0.6779, allocations: 2.426 MB / 487.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.678, allocations: 12.02 kB / 487.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006384/0.6843, allocations: 0.5798 MB / 488 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/0.6875, allocations: 0.988 MB / 489 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.6877, allocations: 90.14 kB / 489.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003575/0.6881, allocations: 108 kB / 489.2 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008629/0.6967, allocations: 2.244 MB / 491.4 MB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.6968, allocations: 7.938 kB / 491.4 MB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.6971, allocations: 47.98 kB / 491.5 MB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/0.6973, allocations: 86 kB / 491.5 MB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009703/0.707, allocations: 2.373 MB / 493.9 MB, free: 10.24 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.0178/0.7248, allocations: 9.021 MB / 0.4912 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3609/1.086, allocations: 1.781 MB / 0.4929 GB, free: 125.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07296/1.159, allocations: 19 MB / 0.5114 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/1.159, allocations: 44.22 kB / 0.5115 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001283/1.16, allocations: 160.9 kB / 0.5116 GB, free: 111.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=109): time 4.088e-06/1.16, allocations: 2.719 kB / 0.5116 GB, free: 111.9 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=159): time 0.1814/1.342, allocations: 15.97 MB / 0.5272 GB, free: 97.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.342, allocations: 226.9 kB / 0.5275 GB, free: 97.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/1.343, allocations: 0.7623 MB / 0.5282 GB, free: 96.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006289/1.344, allocations: 49.7 kB / 0.5282 GB, free: 96.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/1.344, allocations: 0.5906 MB / 0.5288 GB, free: 95.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008775/1.345, allocations: 0.5341 MB / 0.5293 GB, free: 95.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/1.346, allocations: 36 kB / 0.5294 GB, free: 95.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/1.346, allocations: 373.9 kB / 0.5297 GB, free: 94.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007149/1.353, allocations: 1.483 MB / 0.5312 GB, free: 93.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008551/1.362, allocations: 1.944 MB / 0.5331 GB, free: 91.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.373, allocations: 1.599 MB / 0.5346 GB, free: 89.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/1.373, allocations: 8 kB / 0.5347 GB, free: 89.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.03196/1.405, allocations: 4.732 MB / 0.5393 GB, free: 84.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00136/1.406, allocations: 4.793 MB / 0.544 GB, free: 79.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.922e-05/1.406, allocations: 12 kB / 0.544 GB, free: 79.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1714/1.578, allocations: 7.889 MB / 0.5517 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/1.58, allocations: 363.4 kB / 0.552 GB, free: 71.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02711/1.607, allocations: 5.079 MB / 0.557 GB, free: 66.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/1.613, allocations: 235.6 kB / 0.5572 GB, free: 66.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005164/1.614, allocations: 127.9 kB / 0.5573 GB, free: 65.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.614, allocations: 4 kB / 0.5573 GB, free: 65.92 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02467/1.639, allocations: 4.519 MB / 0.5617 GB, free: 61.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.825e-05/1.639, allocations: 12 kB / 0.5618 GB, free: 61.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01915/1.658, allocations: 2.917 MB / 0.5646 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/1.661, allocations: 427.4 kB / 0.565 GB, free: 58.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02318/1.684, allocations: 4.377 MB / 0.5693 GB, free: 53.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005556/1.69, allocations: 235.7 kB / 0.5695 GB, free: 53.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004168/1.691, allocations: 123.9 kB / 0.5696 GB, free: 53.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001277/1.692, allocations: 409.2 kB / 0.57 GB, free: 52.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004994/1.692, allocations: 138.4 kB / 0.5701 GB, free: 52.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03083/1.723, allocations: 9.034 MB / 0.579 GB, free: 43.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001008/1.723, allocations: 71.86 kB / 0.579 GB, free: 43.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.723, allocations: 0 / 0.579 GB, free: 43.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.296e-05/1.723, allocations: 7.969 kB / 0.579 GB, free: 43.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04452/1.768, allocations: 12.24 MB / 0.591 GB, free: 31.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.966e-05/1.768, allocations: 4 kB / 0.591 GB, free: 31.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/1.77, allocations: 251.8 kB / 0.5912 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1511/1.921, allocations: 8.317 MB / 0.5994 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004341/1.922, allocations: 55.95 kB / 0.5994 GB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/1.945, allocations: 5.656 MB / 0.6049 GB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.945, allocations: 4 kB / 0.6049 GB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.034/1.979, allocations: 7.237 MB / 0.612 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/1.981, allocations: 0.6767 MB / 0.6127 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006282/1.982, allocations: 32 kB / 0.6127 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004368/1.986, allocations: 223.5 kB / 0.6129 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003858/1.986, allocations: 133.8 kB / 0.613 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002853/1.987, allocations: 67.92 kB / 0.6131 GB, free: 8.355 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001296/1.988, allocations: 0.7552 MB / 0.6138 GB, free: 7.598 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.988, allocations: 0 / 0.6138 GB, free: 7.598 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007863/1.996, allocations: 2.028 MB / 0.6158 GB, free: 5.703 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.008414/2.004, allocations: 1.708 MB / 0.6175 GB, free: 4.266 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03998/2.044, allocations: 6.659 MB / 0.624 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/2.044, allocations: 0 / 0.624 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01577/2.06, allocations: 2.946 MB / 0.6269 GB, free: 10.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005581/2.066, allocations: 0.5957 MB / 0.6275 GB, free: 10.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/2.084, allocations: 6.553 MB / 0.6339 GB, free: 3.547 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/2.086, allocations: 1.648 MB / 0.6355 GB, free: 1.859 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005459/2.091, allocations: 1.506 MB / 0.6369 GB, free: 360 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/2.092, allocations: 111.4 kB / 0.637 GB, free: 248 kB / 442.7 MB Notification: Performance of SimCode: time 1.313e-06/2.092, allocations: 0 / 0.637 GB, free: 248 kB / 442.7 MB Notification: Performance of Templates: time 0.5101/2.602, allocations: 94.33 MB / 0.7292 GB, free: 116.3 MB / 474.7 MB