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.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") Notification: Performance of loadModel(ModelicaTest): time 1.945/1.945, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.107e-05, allocations: 7.984 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3612, allocations: 48.69 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent): time 0.09982/0.4611, allocations: 58.46 MB / 383.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04086/0.502, allocations: 20.07 MB / 403.4 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/0.5046, allocations: 55.56 kB / 403.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003127/0.5078, allocations: 0.6335 MB / 404.1 MB, free: 96 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01863/0.5265, allocations: 4.448 MB / 408.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01252/0.5391, allocations: 3.155 MB / 411.7 MB, free: 8.469 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005185/0.5443, allocations: 1.584 MB / 413.3 MB, free: 6.883 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.5462, allocations: 0.6982 MB / 414 MB, free: 6.188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.5498, allocations: 1.099 MB / 415.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03603/0.5859, allocations: 14.68 MB / 429.8 MB, free: 6.395 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03129/0.6173, allocations: 10.45 MB / 440.2 MB, free: 11.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003729/0.621, allocations: 484 kB / 440.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.6221, allocations: 394.8 kB / 441.1 MB, free: 11.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007746/0.6229, allocations: 160 kB / 441.2 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.6355, allocations: 4.514 MB / 445.7 MB, free: 6.398 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6356, allocations: 0 / 445.7 MB, free: 6.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6356, allocations: 0 / 445.7 MB, free: 6.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.434e-05/0.6357, allocations: 0 / 445.7 MB, free: 6.398 MB / 378.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.01291/0.6486, allocations: 2.367 MB / 448.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6487, allocations: 8.031 kB / 448.1 MB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006845/0.6555, allocations: 0.5758 MB / 448.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.6586, allocations: 0.9765 MB / 449.7 MB, free: 2.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.6588, allocations: 94.12 kB / 449.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/0.6592, allocations: 112 kB / 449.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009081/0.6683, allocations: 2.244 MB / 452.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.6684, allocations: 7.875 kB / 452.1 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/0.6687, allocations: 47.98 kB / 452.2 MB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/0.6689, allocations: 90 kB / 452.3 MB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.6793, allocations: 2.377 MB / 454.6 MB, free: 13.27 MB / 394.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.01946/0.6988, allocations: 9.009 MB / 463.6 MB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008255/0.7071, allocations: 1.795 MB / 465.4 MB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3421/1.049, allocations: 18.97 MB / 484.4 MB, free: 130.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/1.049, allocations: 44.06 kB / 484.5 MB, free: 130.3 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00143/1.051, allocations: 156.8 kB / 484.6 MB, free: 130.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 5.059e-06/1.051, allocations: 0 / 484.6 MB, free: 130.3 MB / 410.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.1905/1.241, allocations: 15.96 MB / 0.4888 GB, free: 126.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.967e-05/1.241, allocations: 227.2 kB / 0.4891 GB, free: 125.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/1.243, allocations: 0.7605 MB / 0.4898 GB, free: 125.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006044/1.244, allocations: 51.45 kB / 0.4898 GB, free: 125.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/1.244, allocations: 0.5943 MB / 0.4904 GB, free: 124.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000875/1.245, allocations: 0.5295 MB / 0.4909 GB, free: 124.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003246/1.246, allocations: 35.31 kB / 0.491 GB, free: 124.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/1.246, allocations: 379.8 kB / 0.4913 GB, free: 123.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007788/1.253, allocations: 1.48 MB / 0.4928 GB, free: 123.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008218/1.262, allocations: 1.944 MB / 0.4947 GB, free: 121.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008397/1.27, allocations: 1.603 MB / 0.4963 GB, free: 120.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/1.27, allocations: 3.969 kB / 0.4963 GB, free: 120.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02463/1.295, allocations: 4.717 MB / 0.5009 GB, free: 118.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009938/1.296, allocations: 4.812 MB / 0.5056 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/1.296, allocations: 13.97 kB / 0.5056 GB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1726/1.469, allocations: 7.89 MB / 0.5133 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002817/1.471, allocations: 363.1 kB / 0.5136 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02806/1.5, allocations: 5.074 MB / 0.5186 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006061/1.506, allocations: 239.6 kB / 0.5188 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006474/1.506, allocations: 123.9 kB / 0.5189 GB, free: 100.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.506, allocations: 4 kB / 0.5189 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02666/1.533, allocations: 4.517 MB / 0.5233 GB, free: 95.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.203e-05/1.533, allocations: 12 kB / 0.5234 GB, free: 95.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01993/1.553, allocations: 2.925 MB / 0.5262 GB, free: 92.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/1.557, allocations: 431.4 kB / 0.5266 GB, free: 92.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/1.581, allocations: 4.367 MB / 0.5309 GB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005823/1.587, allocations: 239.7 kB / 0.5311 GB, free: 87.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005112/1.588, allocations: 119.9 kB / 0.5312 GB, free: 87.53 MB / 410.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.00138/1.589, allocations: 406.3 kB / 0.5316 GB, free: 87.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005772/1.59, allocations: 138.3 kB / 0.5317 GB, free: 86.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03266/1.622, allocations: 9.04 MB / 0.5406 GB, free: 77.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.739e-05/1.622, allocations: 59.92 kB / 0.5406 GB, free: 77.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.622, allocations: 3.984 kB / 0.5406 GB, free: 77.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-05/1.622, allocations: 7.969 kB / 0.5406 GB, free: 77.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04461/1.667, allocations: 12.23 MB / 0.5526 GB, free: 65.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.791e-05/1.667, allocations: 4 kB / 0.5526 GB, free: 65.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/1.669, allocations: 255.9 kB / 0.5528 GB, free: 65.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2142/1.883, allocations: 8.324 MB / 0.561 GB, free: 56.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000631/1.884, allocations: 51.95 kB / 0.561 GB, free: 56.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04933/1.933, allocations: 5.666 MB / 0.5665 GB, free: 51.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.934, allocations: 4 kB / 0.5665 GB, free: 51.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05137/1.985, allocations: 7.23 MB / 0.5736 GB, free: 43.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002706/1.988, allocations: 0.6806 MB / 0.5743 GB, free: 43.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009655/1.989, allocations: 32 kB / 0.5743 GB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006608/1.995, allocations: 215.6 kB / 0.5745 GB, free: 42.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006517/1.996, allocations: 133.8 kB / 0.5746 GB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004481/1.996, allocations: 72.2 kB / 0.5747 GB, free: 42.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002202/1.999, allocations: 0.7591 MB / 0.5754 GB, free: 41.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.999, allocations: 0 / 0.5754 GB, free: 41.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009217/2.008, allocations: 2.011 MB / 0.5774 GB, free: 39.99 MB / 410.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.008594/2.017, allocations: 1.695 MB / 0.5791 GB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.04088/2.058, allocations: 6.667 MB / 0.5856 GB, free: 31.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/2.058, allocations: 4 kB / 0.5856 GB, free: 31.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01538/2.073, allocations: 2.939 MB / 0.5885 GB, free: 28.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005496/2.079, allocations: 0.5892 MB / 0.589 GB, free: 28.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/2.094, allocations: 6.557 MB / 0.5954 GB, free: 21.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/2.095, allocations: 1.648 MB / 0.597 GB, free: 20.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004767/2.1, allocations: 1.51 MB / 0.5985 GB, free: 18.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005541/2.101, allocations: 111.4 kB / 0.5986 GB, free: 18.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/2.101, allocations: 0 / 0.5986 GB, free: 18.52 MB / 410.7 MB Notification: Performance of Templates: time 0.4695/2.57, allocations: 94.13 MB / 0.6905 GB, free: 103.1 MB / 426.7 MB