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.2_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadModel(Modelica): time 1.815/1.815, allocations: 194.9 MB / 210.6 MB, free: 8.145 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.505e-05, allocations: 4 kB / 258.8 MB, free: 7.871 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3012, allocations: 44.5 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.09278/0.394, allocations: 58.87 MB / 362.2 MB, free: 2.441 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03994/0.434, allocations: 20.26 MB / 382.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.436, allocations: 59.5 kB / 382.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.4385, allocations: 0.6257 MB / 383.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01697/0.4555, allocations: 4.502 MB / 387.6 MB, free: 8.934 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01199/0.4676, allocations: 3.198 MB / 390.8 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004275/0.4719, allocations: 1.619 MB / 392.4 MB, free: 4.105 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.4735, allocations: 0.6988 MB / 393.1 MB, free: 3.406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003418/0.477, allocations: 1.103 MB / 394.2 MB, free: 2.301 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03712/0.5141, allocations: 14.84 MB / 409.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03012/0.5443, allocations: 10.63 MB / 419.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003404/0.5478, allocations: 496 kB / 420.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.5488, allocations: 394.8 kB / 420.6 MB, free: 7.938 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007028/0.5496, allocations: 164 kB / 420.8 MB, free: 7.777 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.562, allocations: 4.58 MB / 425.3 MB, free: 3.188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.562, allocations: 4 kB / 425.3 MB, free: 3.184 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.562, allocations: 4 kB / 425.3 MB, free: 3.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.762e-05/0.5621, allocations: 0 / 425.3 MB, free: 3.18 MB / 362.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.01244/0.5745, allocations: 2.426 MB / 427.8 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.5746, allocations: 8.031 kB / 427.8 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006327/0.5809, allocations: 0.5953 MB / 428.4 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2795/0.8605, allocations: 0.9769 MB / 429.3 MB, free: 111.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.8608, allocations: 92.69 kB / 429.4 MB, free: 111.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004565/0.8612, allocations: 104.7 kB / 429.5 MB, free: 111.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008766/0.87, allocations: 2.236 MB / 431.8 MB, free: 110.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/0.8701, allocations: 8.875 kB / 431.8 MB, free: 110.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.8704, allocations: 51.67 kB / 431.8 MB, free: 110.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.8706, allocations: 83.61 kB / 431.9 MB, free: 110.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009207/0.8798, allocations: 2.381 MB / 434.3 MB, free: 109.8 MB / 362.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.01578/0.8956, allocations: 9.003 MB / 443.3 MB, free: 102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007018/0.9027, allocations: 1.797 MB / 445.1 MB, free: 101.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05624/0.959, allocations: 19 MB / 464.1 MB, free: 81.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.9591, allocations: 47.56 kB / 464.1 MB, free: 81.38 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001271/0.9603, allocations: 164.4 kB / 464.3 MB, free: 81.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=109): time 4.158e-06/0.9604, allocations: 3.938 kB / 464.3 MB, free: 81.21 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.1789/1.139, allocations: 15.97 MB / 480.3 MB, free: 65.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/1.139, allocations: 222.9 kB / 480.5 MB, free: 64.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/1.141, allocations: 0.7624 MB / 481.3 MB, free: 64.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005145/1.141, allocations: 49.7 kB / 481.3 MB, free: 64.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/1.142, allocations: 0.5944 MB / 481.9 MB, free: 63.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007557/1.143, allocations: 0.5316 MB / 482.4 MB, free: 62.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/1.143, allocations: 36 kB / 482.5 MB, free: 62.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/1.143, allocations: 373.9 kB / 482.8 MB, free: 62.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007067/1.15, allocations: 1.487 MB / 484.3 MB, free: 61.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007456/1.158, allocations: 1.941 MB / 486.3 MB, free: 58.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007572/1.165, allocations: 1.607 MB / 487.9 MB, free: 57.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/1.165, allocations: 4 kB / 487.9 MB, free: 57.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02324/1.189, allocations: 4.729 MB / 492.6 MB, free: 52.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009004/1.189, allocations: 4.798 MB / 497.4 MB, free: 47.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.455e-05/1.19, allocations: 12 kB / 497.4 MB, free: 47.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.169/1.359, allocations: 7.89 MB / 0.4935 GB, free: 39.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/1.361, allocations: 363.4 kB / 0.4938 GB, free: 39.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02662/1.388, allocations: 5.092 MB / 0.4988 GB, free: 33.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005667/1.394, allocations: 231.6 kB / 0.499 GB, free: 33.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005907/1.394, allocations: 135.9 kB / 0.4991 GB, free: 33.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/1.394, allocations: 4 kB / 0.4991 GB, free: 33.61 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02467/1.419, allocations: 4.506 MB / 0.5035 GB, free: 29.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.65e-05/1.419, allocations: 12 kB / 0.5035 GB, free: 29.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01898/1.438, allocations: 2.929 MB / 0.5064 GB, free: 26.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/1.441, allocations: 427.4 kB / 0.5068 GB, free: 25.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02303/1.464, allocations: 4.375 MB / 0.5111 GB, free: 21.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005528/1.47, allocations: 231.7 kB / 0.5113 GB, free: 21.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004915/1.47, allocations: 123.9 kB / 0.5114 GB, free: 20.95 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.0013/1.472, allocations: 413.2 kB / 0.5118 GB, free: 20.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005579/1.472, allocations: 138.3 kB / 0.5119 GB, free: 20.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03032/1.503, allocations: 9.018 MB / 0.5208 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.803e-05/1.503, allocations: 71.86 kB / 0.5208 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.503, allocations: 0 / 0.5208 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.553e-05/1.503, allocations: 11.95 kB / 0.5208 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04206/1.545, allocations: 12.23 MB / 0.5328 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.601e-05/1.545, allocations: 4 kB / 0.5328 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/1.547, allocations: 256 kB / 0.533 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1538/1.701, allocations: 8.312 MB / 0.5411 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004729/1.702, allocations: 51.95 kB / 0.5412 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02577/1.727, allocations: 5.656 MB / 0.5467 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/1.727, allocations: 4 kB / 0.5467 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03696/1.764, allocations: 7.236 MB / 0.5538 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/1.766, allocations: 0.6689 MB / 0.5544 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007074/1.767, allocations: 36 kB / 0.5545 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004713/1.772, allocations: 219.6 kB / 0.5547 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005227/1.772, allocations: 126 kB / 0.5548 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003373/1.773, allocations: 71.91 kB / 0.5549 GB, free: 8.059 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001579/1.774, allocations: 0.759 MB / 0.5556 GB, free: 7.297 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.774, allocations: 4 kB / 0.5556 GB, free: 7.293 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007949/1.782, allocations: 2.034 MB / 0.5576 GB, free: 5.395 MB / 394.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.008857/1.791, allocations: 1.685 MB / 0.5592 GB, free: 3.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.286/2.077, allocations: 6.662 MB / 0.5658 GB, free: 135.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/2.077, allocations: 1.094 kB / 0.5658 GB, free: 135.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01473/2.092, allocations: 2.941 MB / 0.5686 GB, free: 134.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005249/2.097, allocations: 0.5825 MB / 0.5692 GB, free: 134.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/2.112, allocations: 6.562 MB / 0.5756 GB, free: 130.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/2.114, allocations: 1.651 MB / 0.5772 GB, free: 130.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00481/2.118, allocations: 1.512 MB / 0.5787 GB, free: 130 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/2.119, allocations: 113.6 kB / 0.5788 GB, free: 130 MB / 394.7 MB Notification: Performance of SimCode: time 1.163e-06/2.119, allocations: 0 / 0.5788 GB, free: 130 MB / 394.7 MB Notification: Performance of Templates: time 0.1786/2.298, allocations: 94.27 MB / 0.6709 GB, free: 38.51 MB / 394.7 MB