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.612/1.612, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.201e-05, allocations: 8 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2095, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.867/6.077, allocations: 2.53 GB / 2.788 GB, free: 86.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/6.077, allocations: 77.06 kB / 2.788 GB, free: 86.25 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 3.234/9.311, allocations: 0.724 GB / 3.512 GB, free: 26.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.462e-06/9.311, allocations: 0.8438 kB / 3.512 GB, free: 26.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000141/9.311, allocations: 36.44 kB / 3.512 GB, free: 26.65 MB / 394.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.01139/9.323, allocations: 2.621 MB / 3.514 GB, free: 25.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/9.323, allocations: 11.66 kB / 3.514 GB, free: 25.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006618/9.33, allocations: 0.5787 MB / 3.515 GB, free: 25.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/9.333, allocations: 1.092 MB / 3.516 GB, free: 25.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/9.333, allocations: 89.67 kB / 3.516 GB, free: 25.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004122/9.334, allocations: 109.6 kB / 3.516 GB, free: 25.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007037/9.341, allocations: 2.231 MB / 3.518 GB, free: 24.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/9.341, allocations: 1.594 kB / 3.518 GB, free: 24.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/9.341, allocations: 52.81 kB / 3.518 GB, free: 24.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/9.341, allocations: 86.28 kB / 3.518 GB, free: 24.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00742/9.349, allocations: 2.237 MB / 3.521 GB, free: 24.84 MB / 394.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0153/9.364, allocations: 8.931 MB / 3.529 GB, free: 19.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005018/9.369, allocations: 1.637 MB / 3.531 GB, free: 19.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/9.37, allocations: 0.6463 MB / 3.532 GB, free: 19.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04408/9.415, allocations: 18.81 MB / 3.55 GB, free: 23.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/9.415, allocations: 45.69 kB / 3.55 GB, free: 23.92 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001403/9.416, allocations: 203.7 kB / 3.55 GB, free: 23.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 5.944e-06/9.416, allocations: 0 / 3.55 GB, free: 23.87 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.0775/9.494, allocations: 11.9 MB / 3.562 GB, free: 23.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/9.494, allocations: 232.8 kB / 3.562 GB, free: 22.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/9.495, allocations: 0.7424 MB / 3.563 GB, free: 22.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004579/9.496, allocations: 54.33 kB / 3.563 GB, free: 22.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/9.496, allocations: 0.5822 MB / 3.563 GB, free: 22.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006375/9.497, allocations: 0.5428 MB / 3.564 GB, free: 21.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/9.497, allocations: 34.62 kB / 3.564 GB, free: 21.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002269/9.497, allocations: 373.1 kB / 3.564 GB, free: 21.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002869/9.5, allocations: 1.243 MB / 3.565 GB, free: 21.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/9.503, allocations: 1.693 MB / 3.567 GB, free: 21.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003343/9.507, allocations: 1.362 MB / 3.568 GB, free: 21.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/9.507, allocations: 5.656 kB / 3.568 GB, free: 21.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01082/9.517, allocations: 4.07 MB / 3.572 GB, free: 20.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002353/9.52, allocations: 4.785 MB / 3.577 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/9.52, allocations: 14.78 kB / 3.577 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1042/9.624, allocations: 7.963 MB / 3.585 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/9.626, allocations: 383.2 kB / 3.585 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/9.639, allocations: 4.636 MB / 3.59 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/9.644, allocations: 244.8 kB / 3.59 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005491/9.645, allocations: 129.4 kB / 3.59 GB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/9.645, allocations: 1.844 kB / 3.59 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01195/9.657, allocations: 3.871 MB / 3.594 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.833e-05/9.657, allocations: 12.53 kB / 3.594 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/9.667, allocations: 2.641 MB / 3.597 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002831/9.67, allocations: 449.1 kB / 3.597 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/9.681, allocations: 4.066 MB / 3.601 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004502/9.686, allocations: 245.3 kB / 3.601 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005614/9.686, allocations: 123.6 kB / 3.601 GB, free: 13.7 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 {4 22,5 25} Notification: Performance of prepare postOptimizeDAE: time 0.0008127/9.687, allocations: 213.6 kB / 3.601 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005443/9.688, allocations: 134.7 kB / 3.602 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02233/9.71, allocations: 8.917 MB / 3.61 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.675e-05/9.71, allocations: 66.52 kB / 3.61 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/9.71, allocations: 3.781 kB / 3.61 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/9.71, allocations: 7.219 kB / 3.61 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02594/9.736, allocations: 11.88 MB / 3.622 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-05/9.736, allocations: 9.719 kB / 3.622 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/9.738, allocations: 268.9 kB / 3.622 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.09099/9.829, allocations: 8.877 MB / 3.631 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004438/9.83, allocations: 62.31 kB / 3.631 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/9.842, allocations: 5.503 MB / 3.636 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/9.843, allocations: 3.938 kB / 3.636 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/9.861, allocations: 6.759 MB / 3.643 GB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/9.863, allocations: 0.6813 MB / 3.644 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006254/9.864, allocations: 39.7 kB / 3.644 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003508/9.867, allocations: 223.4 kB / 3.644 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005612/9.868, allocations: 134.1 kB / 3.644 GB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004183/9.868, allocations: 80.95 kB / 3.644 GB, free: 1.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001763/9.87, allocations: 0.7389 MB / 3.645 GB, free: 1.094 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.199e-06/9.87, allocations: 0 / 3.645 GB, free: 1.094 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01028/9.88, allocations: 2.243 MB / 3.647 GB, free: 14.89 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,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.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 (120): * Single equations (assignments): 106 * 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 {4 22,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01175/9.892, allocations: 2.426 MB / 3.649 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02252/9.915, allocations: 5.956 MB / 3.655 GB, free: 7.906 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/9.915, allocations: 4.625 kB / 3.655 GB, free: 7.902 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009751/9.924, allocations: 2.82 MB / 3.658 GB, free: 5.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004234/9.929, allocations: 0.5752 MB / 3.659 GB, free: 5.023 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5401/10.47, allocations: 124 MB / 3.78 GB, free: 38.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/10.47, allocations: 1.652 MB / 3.781 GB, free: 37.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004278/10.47, allocations: 1.506 MB / 3.783 GB, free: 36.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/10.47, allocations: 128.5 kB / 3.783 GB, free: 36.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/10.47, allocations: 0 / 3.783 GB, free: 36.37 MB / 426.7 MB Notification: Performance of Templates: time 0.4922/10.97, allocations: 106.4 MB / 3.887 GB, free: 45.28 MB / 426.7 MB