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.3_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.829e-05, allocations: 0 / 269.3 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/0.08714, allocations: 47.58 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.642/6.729, allocations: 2.808 GB / 3.118 GB, free: 31.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/6.729, allocations: 80.92 kB / 3.118 GB, free: 31.6 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:306:3-308: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.49/10.22, allocations: 0.7479 GB / 3.866 GB, free: 35.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.393e-06/10.22, allocations: 0.7656 kB / 3.866 GB, free: 35.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001498/10.22, allocations: 36.86 kB / 3.866 GB, free: 35.96 MB / 458.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.0132/10.23, allocations: 2.721 MB / 3.868 GB, free: 34.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/10.23, allocations: 8.219 kB / 3.868 GB, free: 34.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00616/10.24, allocations: 0.6044 MB / 3.869 GB, free: 34.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003197/10.24, allocations: 1.068 MB / 3.87 GB, free: 34.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/10.24, allocations: 86.08 kB / 3.87 GB, free: 34.22 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002935/10.24, allocations: 109.6 kB / 3.87 GB, free: 34.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006703/10.25, allocations: 2.242 MB / 3.872 GB, free: 33.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/10.25, allocations: 10.03 kB / 3.872 GB, free: 33.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/10.25, allocations: 47.69 kB / 3.872 GB, free: 33.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/10.25, allocations: 88.7 kB / 3.873 GB, free: 33.88 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006486/10.26, allocations: 2.252 MB / 3.875 GB, free: 33.86 MB / 458.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.01518/10.27, allocations: 9.183 MB / 3.884 GB, free: 28.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005512/10.28, allocations: 1.744 MB / 3.885 GB, free: 28.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/10.28, allocations: 0.6783 MB / 3.886 GB, free: 28.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07131/10.35, allocations: 24.51 MB / 3.91 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/10.35, allocations: 48.5 kB / 3.91 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00252/10.35, allocations: 209.7 kB / 3.91 GB, free: 13.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=109): time 1.003e-05/10.35, allocations: 4 kB / 3.91 GB, free: 13.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=109): time 0.02001/10.37, allocations: 2.608 MB / 3.913 GB, free: 13.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/10.37, allocations: 220.5 kB / 3.913 GB, free: 13.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/10.38, allocations: 0.8227 MB / 3.914 GB, free: 12.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004287/10.38, allocations: 43.64 kB / 3.914 GB, free: 12.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007297/10.38, allocations: 0.5634 MB / 3.914 GB, free: 12.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000676/10.38, allocations: 371.7 kB / 3.915 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/10.38, allocations: 25.16 kB / 3.915 GB, free: 12.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/10.38, allocations: 363.3 kB / 3.915 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/10.38, allocations: 0.5444 MB / 3.916 GB, free: 12.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002772/10.38, allocations: 0.9011 MB / 3.917 GB, free: 11.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/10.39, allocations: 0.67 MB / 3.917 GB, free: 11.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/10.39, allocations: 7.219 kB / 3.917 GB, free: 11.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.008266/10.39, allocations: 1.828 MB / 3.919 GB, free: 11.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002937/10.4, allocations: 3.756 MB / 3.923 GB, free: 23.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.11e-05/10.4, allocations: 9.531 kB / 3.923 GB, free: 23.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03712/10.43, allocations: 2.985 MB / 3.926 GB, free: 23.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/10.44, allocations: 275.5 kB / 3.926 GB, free: 23.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/10.44, allocations: 1.394 MB / 3.927 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/10.44, allocations: 145.5 kB / 3.927 GB, free: 22.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/10.44, allocations: 68.97 kB / 3.927 GB, free: 22.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/10.44, allocations: 3.75 kB / 3.927 GB, free: 22.96 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004878/10.45, allocations: 1.563 MB / 3.929 GB, free: 22.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/10.45, allocations: 11.22 kB / 3.929 GB, free: 22.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/10.45, allocations: 195.2 kB / 3.929 GB, free: 22.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/10.45, allocations: 355.4 kB / 3.929 GB, free: 22.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/10.45, allocations: 0.7316 MB / 3.93 GB, free: 22.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/10.45, allocations: 145.8 kB / 3.93 GB, free: 22.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/10.45, allocations: 67.16 kB / 3.93 GB, free: 22.36 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (129): * Single equations (assignments): 128 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.000522/10.45, allocations: 189.5 kB / 3.931 GB, free: 22.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/10.45, allocations: 132 kB / 3.931 GB, free: 22.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008868/10.46, allocations: 5.481 MB / 3.936 GB, free: 21.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-05/10.46, allocations: 61.14 kB / 3.936 GB, free: 21.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.961e-06/10.46, allocations: 0 / 3.936 GB, free: 21.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-05/10.46, allocations: 14.56 kB / 3.936 GB, free: 21.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/10.48, allocations: 7.523 MB / 3.943 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/10.48, allocations: 3 kB / 3.943 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/10.48, allocations: 207.2 kB / 3.944 GB, free: 20.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03126/10.51, allocations: 4.285 MB / 3.948 GB, free: 20.76 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/10.51, allocations: 31.55 kB / 3.948 GB, free: 20.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003894/10.51, allocations: 2.344 MB / 3.95 GB, free: 20.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.238e-06/10.51, allocations: 4.844 kB / 3.95 GB, free: 20.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00588/10.52, allocations: 3.5 MB / 3.954 GB, free: 19.69 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/10.52, allocations: 0.6459 MB / 3.954 GB, free: 19.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/10.52, allocations: 27.34 kB / 3.954 GB, free: 19.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/10.52, allocations: 126.7 kB / 3.954 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/10.52, allocations: 107.7 kB / 3.954 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/10.52, allocations: 46.05 kB / 3.955 GB, free: 19.37 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001951/10.53, allocations: 1.038 MB / 3.956 GB, free: 19.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.68e-07/10.53, allocations: 0 / 3.956 GB, free: 19.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009076/10.53, allocations: 1.954 MB / 3.957 GB, free: 18.99 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.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 (93): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01365/10.55, allocations: 2.216 MB / 3.96 GB, free: 18.44 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007548/10.56, allocations: 2.712 MB / 3.962 GB, free: 17.22 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.772e-06/10.56, allocations: 4 kB / 3.962 GB, free: 17.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002935/10.56, allocations: 1.373 MB / 3.964 GB, free: 15.96 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004503/10.56, allocations: 0.674 MB / 3.964 GB, free: 15.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006532/10.57, allocations: 3.378 MB / 3.968 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/10.57, allocations: 1.626 MB / 3.969 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003993/10.57, allocations: 1.538 MB / 3.971 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/10.58, allocations: 104.4 kB / 3.971 GB, free: 10.06 MB / 474.7 MB Notification: Performance of SimCode: time 1.685e-06/10.58, allocations: 0 / 3.971 GB, free: 10.06 MB / 474.7 MB Notification: Performance of Templates: time 0.4262/11, allocations: 70.93 MB / 4.04 GB, free: 45.41 MB / 474.7 MB