Running command: translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sink.ports.1..m_flow|sink1.ports.1..m_flow|sink2.ports.1..m_flow|pipe1.flowModel.dps_fg_turbulent.1.|pipe1.flowModel.pathLengths_nominal.1.|pipe2.flowModel.pathLengths_nominal.1.",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadModel(Modelica): time 1.592/1.592, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.886e-05, allocations: 7.984 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08058/0.08063, allocations: 38.76 MB / 266.9 MB, free: 0.4922 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.3477/0.4284, allocations: 58.42 MB / 325.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.05902/0.4875, allocations: 20.08 MB / 345.4 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/0.4905, allocations: 60.12 kB / 345.5 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003881/0.4944, allocations: 0.6234 MB / 346.1 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02607/0.5206, allocations: 4.453 MB / 350.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01929/0.5399, allocations: 3.151 MB / 353.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006121/0.5461, allocations: 1.587 MB / 355.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.5484, allocations: 0.6988 MB / 356 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004633/0.553, allocations: 1.095 MB / 357.1 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0515/0.6046, allocations: 14.68 MB / 371.8 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04403/0.6487, allocations: 10.45 MB / 382.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004614/0.6534, allocations: 484 kB / 382.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.6547, allocations: 390.9 kB / 383.1 MB, free: 13.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009754/0.6557, allocations: 164 kB / 383.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01741/0.6732, allocations: 4.521 MB / 387.7 MB, free: 8.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6732, allocations: 0 / 387.7 MB, free: 8.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.883e-06/0.6733, allocations: 0 / 387.7 MB, free: 8.906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.395e-05/0.6733, allocations: 3.938 kB / 387.7 MB, free: 8.902 MB / 314.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.01715/0.6905, allocations: 2.363 MB / 390.1 MB, free: 6.484 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.6906, allocations: 12.03 kB / 390.1 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/0.7009, allocations: 0.5564 MB / 390.7 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.7052, allocations: 0.9881 MB / 391.7 MB, free: 4.883 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.7055, allocations: 102.1 kB / 391.8 MB, free: 4.781 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005399/0.7061, allocations: 108 kB / 391.9 MB, free: 4.676 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.7193, allocations: 2.24 MB / 394.1 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.894e-05/0.7194, allocations: 0 / 394.1 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003884/0.7198, allocations: 47.98 kB / 394.2 MB, free: 2.266 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002785/0.7201, allocations: 89.94 kB / 394.2 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/0.7355, allocations: 2.381 MB / 396.6 MB, free: 15.79 MB / 330.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.02775/0.7633, allocations: 9.01 MB / 405.6 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.7753, allocations: 1.787 MB / 407.4 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09779/0.8732, allocations: 18.97 MB / 426.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.05e-05/0.8733, allocations: 55.59 kB / 426.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001807/0.8752, allocations: 158.8 kB / 426.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=109): time 5.841e-06/0.8752, allocations: 0 / 426.6 MB, free: 14.83 MB / 362.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.4599/1.335, allocations: 15.97 MB / 442.6 MB, free: 131.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/1.335, allocations: 224.1 kB / 442.8 MB, free: 130.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/1.337, allocations: 0.7605 MB / 443.5 MB, free: 130.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005316/1.338, allocations: 51.83 kB / 443.6 MB, free: 130.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/1.338, allocations: 0.5932 MB / 444.2 MB, free: 130.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000768/1.339, allocations: 0.5308 MB / 444.7 MB, free: 130.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003034/1.339, allocations: 35.94 kB / 444.8 MB, free: 130.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/1.339, allocations: 372.6 kB / 445.1 MB, free: 129.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007557/1.347, allocations: 1.481 MB / 446.6 MB, free: 129.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007865/1.355, allocations: 1.944 MB / 448.5 MB, free: 128.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007881/1.363, allocations: 1.608 MB / 450.2 MB, free: 127.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/1.363, allocations: 3.938 kB / 450.2 MB, free: 127.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02363/1.386, allocations: 4.721 MB / 454.9 MB, free: 125.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009429/1.387, allocations: 4.8 MB / 459.7 MB, free: 120.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/1.388, allocations: 16.44 kB / 459.7 MB, free: 120.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1681/1.556, allocations: 7.886 MB / 467.6 MB, free: 119.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/1.558, allocations: 363.7 kB / 467.9 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02643/1.585, allocations: 5.083 MB / 473 MB, free: 115.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005547/1.59, allocations: 240.7 kB / 473.3 MB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004129/1.591, allocations: 127.1 kB / 473.4 MB, free: 115.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.591, allocations: 3.969 kB / 473.4 MB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02366/1.614, allocations: 4.514 MB / 477.9 MB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/1.614, allocations: 12 kB / 477.9 MB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01855/1.633, allocations: 2.929 MB / 480.8 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00319/1.636, allocations: 427.4 kB / 481.3 MB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02262/1.659, allocations: 4.374 MB / 485.6 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00545/1.664, allocations: 231.7 kB / 485.9 MB, free: 103.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004008/1.665, allocations: 119.9 kB / 486 MB, free: 103 MB / 362.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.001231/1.666, allocations: 405.3 kB / 486.4 MB, free: 102.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000465/1.667, allocations: 140.1 kB / 486.5 MB, free: 102.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02926/1.696, allocations: 9.03 MB / 495.5 MB, free: 93.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-05/1.696, allocations: 59.92 kB / 495.6 MB, free: 93.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.696, allocations: 0 / 495.6 MB, free: 93.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.6e-05/1.696, allocations: 15.95 kB / 495.6 MB, free: 93.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04006/1.736, allocations: 12.22 MB / 0.4959 GB, free: 81.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/1.736, allocations: 7.953 kB / 0.4959 GB, free: 81.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/1.738, allocations: 255.8 kB / 0.4962 GB, free: 80.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1488/1.887, allocations: 8.326 MB / 0.5043 GB, free: 72.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004235/1.887, allocations: 51.95 kB / 0.5044 GB, free: 72.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02336/1.911, allocations: 5.657 MB / 0.5099 GB, free: 66.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.911, allocations: 4 kB / 0.5099 GB, free: 66.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03333/1.944, allocations: 7.248 MB / 0.517 GB, free: 59.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.946, allocations: 0.6678 MB / 0.5176 GB, free: 58.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006366/1.947, allocations: 39.94 kB / 0.5177 GB, free: 58.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004426/1.951, allocations: 223.5 kB / 0.5179 GB, free: 58.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004032/1.951, allocations: 125.8 kB / 0.518 GB, free: 58.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002881/1.952, allocations: 67.95 kB / 0.5181 GB, free: 58.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001313/1.953, allocations: 0.7591 MB / 0.5188 GB, free: 57.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.32e-07/1.953, allocations: 0 / 0.5188 GB, free: 57.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007229/1.96, allocations: 2.015 MB / 0.5208 GB, free: 55.51 MB / 362.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.008186/1.969, allocations: 1.683 MB / 0.5224 GB, free: 54.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.03857/2.007, allocations: 6.665 MB / 0.5289 GB, free: 47.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/2.007, allocations: 0 / 0.5289 GB, free: 47.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01459/2.022, allocations: 2.947 MB / 0.5318 GB, free: 44.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005205/2.027, allocations: 0.5834 MB / 0.5324 GB, free: 43.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/2.042, allocations: 6.561 MB / 0.5388 GB, free: 37.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/2.043, allocations: 1.645 MB / 0.5404 GB, free: 35.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004777/2.048, allocations: 1.506 MB / 0.5418 GB, free: 34.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000534/2.049, allocations: 111.4 kB / 0.542 GB, free: 34.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/2.049, allocations: 0 / 0.542 GB, free: 34.07 MB / 362.7 MB Notification: Performance of Templates: time 0.3957/2.444, allocations: 94.07 MB / 0.6338 GB, free: 75.16 MB / 362.7 MB