Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,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_laminar") Notification: Performance of loadModel(ModelicaTest): time 1.915/1.915, allocations: 209.3 MB / 223.8 MB, free: 0.582 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.189e-05/4.18e-05, allocations: 7.984 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3739, allocations: 48.69 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar): time 0.1526/0.5265, allocations: 58.46 MB / 383.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04029/0.5669, allocations: 20.08 MB / 403.4 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.5692, allocations: 51.56 kB / 403.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002852/0.572, allocations: 0.6374 MB / 404.1 MB, free: 92 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0182/0.5903, allocations: 4.444 MB / 408.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01242/0.6027, allocations: 3.151 MB / 411.7 MB, free: 8.473 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00478/0.6076, allocations: 1.591 MB / 413.3 MB, free: 6.879 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.6093, allocations: 0.6988 MB / 414 MB, free: 6.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003452/0.6128, allocations: 1.095 MB / 415.1 MB, free: 5.082 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03543/0.6482, allocations: 14.68 MB / 429.8 MB, free: 6.395 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04159/0.6899, allocations: 10.44 MB / 440.2 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003989/0.694, allocations: 487.9 kB / 440.7 MB, free: 11.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.6951, allocations: 390.8 kB / 441.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007041/0.6958, allocations: 168 kB / 441.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.7085, allocations: 4.506 MB / 445.7 MB, free: 6.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7086, allocations: 0 / 445.7 MB, free: 6.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.7086, allocations: 0 / 445.7 MB, free: 6.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.213e-05/0.7087, allocations: 0 / 445.7 MB, free: 6.41 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.01197/0.7206, allocations: 2.383 MB / 448.1 MB, free: 3.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.7207, allocations: 11.97 kB / 448.1 MB, free: 3.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00661/0.7273, allocations: 0.5679 MB / 448.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/0.7305, allocations: 0.9843 MB / 449.7 MB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.7307, allocations: 90.14 kB / 449.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004488/0.7312, allocations: 104 kB / 449.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009073/0.7403, allocations: 2.24 MB / 452.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/0.7404, allocations: 7.938 kB / 452.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.7406, allocations: 47.98 kB / 452.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/0.7408, allocations: 86 kB / 452.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.7513, allocations: 2.381 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.01948/0.7709, allocations: 9.017 MB / 463.6 MB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007903/0.7788, allocations: 1.787 MB / 465.4 MB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3281/1.107, allocations: 18.97 MB / 484.4 MB, free: 130.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/1.107, allocations: 49.62 kB / 484.4 MB, free: 130.4 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001336/1.108, allocations: 154.4 kB / 484.6 MB, free: 130.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 4.639e-06/1.108, allocations: 0 / 484.6 MB, free: 130.4 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.2086/1.317, allocations: 15.98 MB / 0.4888 GB, free: 126.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.317, allocations: 223.5 kB / 0.4891 GB, free: 126 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/1.319, allocations: 0.7589 MB / 0.4898 GB, free: 125.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005738/1.319, allocations: 51.77 kB / 0.4898 GB, free: 125.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/1.32, allocations: 0.5944 MB / 0.4904 GB, free: 125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007939/1.321, allocations: 0.5258 MB / 0.4909 GB, free: 124.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/1.321, allocations: 35 kB / 0.491 GB, free: 124.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/1.321, allocations: 380.7 kB / 0.4913 GB, free: 124.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007701/1.329, allocations: 1.483 MB / 0.4928 GB, free: 123.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007837/1.337, allocations: 1.944 MB / 0.4947 GB, free: 122 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008016/1.345, allocations: 1.606 MB / 0.4963 GB, free: 121.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/1.345, allocations: 0 / 0.4963 GB, free: 121.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02444/1.369, allocations: 4.721 MB / 0.5009 GB, free: 118.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008821/1.37, allocations: 4.8 MB / 0.5055 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/1.37, allocations: 19.31 kB / 0.5056 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1762/1.546, allocations: 7.892 MB / 0.5133 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/1.549, allocations: 363.5 kB / 0.5136 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02705/1.576, allocations: 5.074 MB / 0.5186 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006006/1.582, allocations: 235.7 kB / 0.5188 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005642/1.583, allocations: 131.8 kB / 0.5189 GB, free: 100.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.583, allocations: 7.594 kB / 0.5189 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02469/1.608, allocations: 4.507 MB / 0.5233 GB, free: 95.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.322e-05/1.608, allocations: 16.97 kB / 0.5234 GB, free: 95.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01906/1.627, allocations: 2.936 MB / 0.5262 GB, free: 92.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/1.63, allocations: 419.4 kB / 0.5266 GB, free: 92.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/1.653, allocations: 4.376 MB / 0.5309 GB, free: 88.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005756/1.659, allocations: 231.7 kB / 0.5311 GB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005162/1.66, allocations: 123.9 kB / 0.5312 GB, free: 87.75 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.001327/1.661, allocations: 410.1 kB / 0.5316 GB, free: 87.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005244/1.662, allocations: 134.4 kB / 0.5318 GB, free: 87.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03072/1.692, allocations: 9.047 MB / 0.5406 GB, free: 78.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.019e-05/1.692, allocations: 63.91 kB / 0.5406 GB, free: 78.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/1.692, allocations: 0 / 0.5406 GB, free: 78.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.988e-05/1.692, allocations: 7.969 kB / 0.5407 GB, free: 78.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04306/1.736, allocations: 12.22 MB / 0.5526 GB, free: 65.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.519e-05/1.736, allocations: 4 kB / 0.5526 GB, free: 65.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/1.738, allocations: 271.9 kB / 0.5529 GB, free: 65.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1496/1.887, allocations: 8.316 MB / 0.561 GB, free: 57.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005164/1.888, allocations: 55.95 kB / 0.561 GB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02418/1.912, allocations: 5.659 MB / 0.5666 GB, free: 51.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.912, allocations: 4 kB / 0.5666 GB, free: 51.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03482/1.947, allocations: 7.23 MB / 0.5736 GB, free: 44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/1.949, allocations: 0.6806 MB / 0.5743 GB, free: 43.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006505/1.95, allocations: 32 kB / 0.5743 GB, free: 43.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004589/1.954, allocations: 215.6 kB / 0.5745 GB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005235/1.955, allocations: 133.8 kB / 0.5746 GB, free: 42.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003314/1.955, allocations: 67.95 kB / 0.5747 GB, free: 42.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001359/1.957, allocations: 0.7591 MB / 0.5755 GB, free: 42.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.957, allocations: 0 / 0.5755 GB, free: 42.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007751/1.964, allocations: 2.011 MB / 0.5774 GB, free: 40.21 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.008671/1.973, allocations: 1.694 MB / 0.5791 GB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03978/2.013, allocations: 6.669 MB / 0.5856 GB, free: 32.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/2.013, allocations: 8.438 kB / 0.5856 GB, free: 32.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01496/2.028, allocations: 2.947 MB / 0.5885 GB, free: 29.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005577/2.034, allocations: 0.5856 MB / 0.589 GB, free: 28.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/2.049, allocations: 6.549 MB / 0.5954 GB, free: 22.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/2.05, allocations: 1.656 MB / 0.5971 GB, free: 20.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004833/2.055, allocations: 1.506 MB / 0.5985 GB, free: 18.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/2.056, allocations: 111.4 kB / 0.5986 GB, free: 18.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/2.056, allocations: 0 / 0.5986 GB, free: 18.74 MB / 410.7 MB Notification: Performance of Templates: time 0.4709/2.527, allocations: 94.11 MB / 0.6905 GB, free: 103.7 MB / 426.7 MB