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.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.519e-05, allocations: 0 / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4623, allocations: 54.87 MB / 362.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar): time 0.1008/0.5632, allocations: 58.91 MB / 421.8 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04247/0.6057, allocations: 20.27 MB / 442.1 MB, free: 14.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.6078, allocations: 59.5 kB / 442.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.6106, allocations: 0.6257 MB / 442.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01839/0.6291, allocations: 4.502 MB / 447.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01381/0.6429, allocations: 3.201 MB / 450.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004637/0.6476, allocations: 1.611 MB / 452.1 MB, free: 4.391 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.6495, allocations: 0.7026 MB / 452.8 MB, free: 3.688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003654/0.6531, allocations: 1.11 MB / 453.9 MB, free: 2.574 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03612/0.6893, allocations: 14.85 MB / 468.7 MB, free: 3.719 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03128/0.7207, allocations: 10.64 MB / 479.4 MB, free: 9.074 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004264/0.725, allocations: 496 kB / 479.8 MB, free: 8.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.7262, allocations: 386.8 kB / 480.2 MB, free: 8.211 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006997/0.7269, allocations: 167.9 kB / 480.4 MB, free: 8.047 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.7395, allocations: 4.58 MB / 485 MB, free: 3.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7395, allocations: 4 kB / 485 MB, free: 3.453 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7395, allocations: 4 kB / 485 MB, free: 3.449 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.7396, allocations: 0 / 485 MB, free: 3.449 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.01247/0.752, allocations: 2.422 MB / 487.4 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.7521, allocations: 12.02 kB / 487.4 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006376/0.7585, allocations: 0.5837 MB / 488 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.7614, allocations: 0.988 MB / 489 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.7616, allocations: 90.14 kB / 489.1 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/0.762, allocations: 108 kB / 489.2 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008447/0.7704, allocations: 2.24 MB / 491.4 MB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.7705, allocations: 3.938 kB / 491.4 MB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.7708, allocations: 47.98 kB / 491.5 MB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/0.771, allocations: 86 kB / 491.5 MB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.7814, allocations: 2.381 MB / 493.9 MB, free: 10.25 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.02011/0.8016, allocations: 9.017 MB / 0.4912 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3276/1.129, allocations: 1.779 MB / 0.4929 GB, free: 125.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06765/1.197, allocations: 18.99 MB / 0.5114 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/1.197, allocations: 47.12 kB / 0.5115 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001357/1.198, allocations: 166.4 kB / 0.5116 GB, free: 112 MB / 426.7 MB Notification: Performance of pre-optimization done (n=109): time 4.128e-06/1.199, allocations: 0 / 0.5116 GB, free: 112 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.1811/1.38, allocations: 15.97 MB / 0.5272 GB, free: 97.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/1.38, allocations: 226.9 kB / 0.5275 GB, free: 97.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/1.381, allocations: 0.7661 MB / 0.5282 GB, free: 96.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005517/1.382, allocations: 53.7 kB / 0.5283 GB, free: 96.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000426/1.382, allocations: 0.587 MB / 0.5288 GB, free: 95.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007599/1.383, allocations: 0.5311 MB / 0.5293 GB, free: 95.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/1.383, allocations: 32 kB / 0.5294 GB, free: 95.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/1.383, allocations: 377.9 kB / 0.5297 GB, free: 94.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007282/1.391, allocations: 1.487 MB / 0.5312 GB, free: 93.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007822/1.399, allocations: 1.936 MB / 0.5331 GB, free: 91.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007947/1.407, allocations: 1.607 MB / 0.5347 GB, free: 89.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/1.407, allocations: 4 kB / 0.5347 GB, free: 89.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02403/1.431, allocations: 4.73 MB / 0.5393 GB, free: 84.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009862/1.432, allocations: 4.789 MB / 0.5439 GB, free: 79.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.629e-05/1.432, allocations: 15.56 kB / 0.544 GB, free: 79.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1709/1.603, allocations: 7.896 MB / 0.5517 GB, free: 71.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/1.605, allocations: 363.4 kB / 0.552 GB, free: 71.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02749/1.633, allocations: 5.079 MB / 0.557 GB, free: 66.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005838/1.639, allocations: 235.6 kB / 0.5572 GB, free: 66.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006666/1.64, allocations: 123.9 kB / 0.5573 GB, free: 65.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.64, allocations: 4 kB / 0.5573 GB, free: 65.93 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02528/1.665, allocations: 4.512 MB / 0.5617 GB, free: 61.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/1.665, allocations: 16 kB / 0.5618 GB, free: 61.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01931/1.684, allocations: 2.925 MB / 0.5646 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003438/1.688, allocations: 423.4 kB / 0.565 GB, free: 58.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02382/1.712, allocations: 4.384 MB / 0.5693 GB, free: 53.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005717/1.717, allocations: 227.7 kB / 0.5695 GB, free: 53.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/1.718, allocations: 123.9 kB / 0.5696 GB, free: 53.27 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.00132/1.719, allocations: 413.2 kB / 0.57 GB, free: 52.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005622/1.72, allocations: 134.4 kB / 0.5701 GB, free: 52.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03199/1.752, allocations: 9.042 MB / 0.579 GB, free: 43.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.821e-05/1.752, allocations: 71.86 kB / 0.579 GB, free: 43.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.752, allocations: 0 / 0.579 GB, free: 43.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.387e-05/1.752, allocations: 7.969 kB / 0.5791 GB, free: 43.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04471/1.797, allocations: 12.22 MB / 0.591 GB, free: 31.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.729e-05/1.797, allocations: 4 kB / 0.591 GB, free: 31.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/1.799, allocations: 260 kB / 0.5912 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1523/1.951, allocations: 8.32 MB / 0.5994 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004903/1.952, allocations: 51.97 kB / 0.5994 GB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02356/1.975, allocations: 5.652 MB / 0.6049 GB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.975, allocations: 4 kB / 0.6049 GB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0345/2.01, allocations: 7.24 MB / 0.612 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/2.012, allocations: 0.6767 MB / 0.6127 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007029/2.013, allocations: 35.98 kB / 0.6127 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00462/2.017, allocations: 223.5 kB / 0.6129 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004516/2.018, allocations: 125.8 kB / 0.613 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003024/2.018, allocations: 71.91 kB / 0.6131 GB, free: 8.363 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001336/2.02, allocations: 0.7591 MB / 0.6139 GB, free: 7.602 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.02, allocations: 0 / 0.6139 GB, free: 7.602 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007678/2.027, allocations: 2.02 MB / 0.6158 GB, free: 5.715 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.008504/2.036, allocations: 1.718 MB / 0.6175 GB, free: 4.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04065/2.076, allocations: 6.663 MB / 0.624 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/2.077, allocations: 0 / 0.624 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0165/2.093, allocations: 2.947 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.006039/2.099, allocations: 0.5784 MB / 0.6275 GB, free: 10.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/2.118, allocations: 6.565 MB / 0.6339 GB, free: 3.551 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/2.12, allocations: 1.652 MB / 0.6355 GB, free: 1.859 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005792/2.126, allocations: 1.493 MB / 0.6369 GB, free: 372 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006405/2.126, allocations: 115.4 kB / 0.637 GB, free: 256 kB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/2.126, allocations: 0 / 0.637 GB, free: 256 kB / 442.7 MB Notification: Performance of Templates: time 0.5316/2.658, allocations: 94.33 MB / 0.7292 GB, free: 116.3 MB / 474.7 MB