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_trunk_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.477e-05/4.501e-05, allocations: 10.02 kB / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09577, allocations: 50.41 MB / 343.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.964/7.059, allocations: 2.814 GB / 3.149 GB, free: 6.602 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/7.06, allocations: 75.78 kB / 3.149 GB, free: 6.566 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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.622/10.68, allocations: 0.756 GB / 3.905 GB, free: 32.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.718e-06/10.68, allocations: 3.562 kB / 3.905 GB, free: 32.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001395/10.68, allocations: 39.03 kB / 3.905 GB, free: 32.58 MB / 474.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.01185/10.69, allocations: 2.721 MB / 3.907 GB, free: 31.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/10.69, allocations: 14.84 kB / 3.907 GB, free: 31.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006217/10.7, allocations: 0.6007 MB / 3.908 GB, free: 31.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/10.7, allocations: 1.065 MB / 3.909 GB, free: 30.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/10.7, allocations: 93.25 kB / 3.909 GB, free: 30.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003796/10.7, allocations: 106.8 kB / 3.909 GB, free: 30.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006907/10.71, allocations: 2.236 MB / 3.911 GB, free: 30.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/10.71, allocations: 6.812 kB / 3.911 GB, free: 30.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/10.71, allocations: 49.98 kB / 3.911 GB, free: 30.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/10.71, allocations: 89.3 kB / 3.911 GB, free: 30.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006873/10.72, allocations: 2.245 MB / 3.914 GB, free: 30.54 MB / 474.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.01658/10.73, allocations: 9.21 MB / 3.923 GB, free: 25.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0056/10.74, allocations: 1.734 MB / 3.924 GB, free: 25.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/10.74, allocations: 0.6849 MB / 3.925 GB, free: 25.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0587/10.8, allocations: 24.51 MB / 3.949 GB, free: 26.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.463e-05/10.8, allocations: 56.97 kB / 3.949 GB, free: 26.38 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001733/10.8, allocations: 199.5 kB / 3.949 GB, free: 26.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=109): time 7.033e-06/10.8, allocations: 4 kB / 3.949 GB, free: 26.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=109): time 0.01157/10.81, allocations: 2.605 MB / 3.952 GB, free: 26.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/10.81, allocations: 220.6 kB / 3.952 GB, free: 25.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/10.82, allocations: 0.8291 MB / 3.953 GB, free: 25.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003027/10.82, allocations: 48.92 kB / 3.953 GB, free: 25.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004496/10.82, allocations: 0.5535 MB / 3.953 GB, free: 25.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/10.82, allocations: 381.3 kB / 3.954 GB, free: 25.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/10.82, allocations: 27.97 kB / 3.954 GB, free: 25.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/10.82, allocations: 354.7 kB / 3.954 GB, free: 24.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/10.82, allocations: 0.5489 MB / 3.955 GB, free: 24.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/10.82, allocations: 0.9037 MB / 3.956 GB, free: 24.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/10.82, allocations: 0.6728 MB / 3.956 GB, free: 24.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.785e-06/10.82, allocations: 3.031 kB / 3.956 GB, free: 24.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004471/10.83, allocations: 1.829 MB / 3.958 GB, free: 24.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001854/10.83, allocations: 3.752 MB / 3.962 GB, free: 20.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/10.83, allocations: 9.562 kB / 3.962 GB, free: 20.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03638/10.86, allocations: 2.982 MB / 3.965 GB, free: 20.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/10.87, allocations: 275 kB / 3.965 GB, free: 20.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/10.87, allocations: 1.394 MB / 3.966 GB, free: 19.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/10.87, allocations: 151.6 kB / 3.966 GB, free: 19.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004626/10.87, allocations: 70.67 kB / 3.966 GB, free: 19.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/10.87, allocations: 3.938 kB / 3.966 GB, free: 19.74 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005005/10.88, allocations: 1.564 MB / 3.968 GB, free: 19.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/10.88, allocations: 7.875 kB / 3.968 GB, free: 19.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/10.88, allocations: 188.5 kB / 3.968 GB, free: 19.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/10.88, allocations: 353.9 kB / 3.968 GB, free: 19.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/10.88, allocations: 0.7405 MB / 3.969 GB, free: 19.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/10.88, allocations: 152.1 kB / 3.969 GB, free: 19.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/10.88, allocations: 70 kB / 3.969 GB, free: 19.13 MB / 490.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.0005423/10.89, allocations: 193.1 kB / 3.97 GB, free: 19.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/10.89, allocations: 126.5 kB / 3.97 GB, free: 18.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009096/10.89, allocations: 5.492 MB / 3.975 GB, free: 18.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.406e-05/10.89, allocations: 64.7 kB / 3.975 GB, free: 18.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.864e-06/10.89, allocations: 1.312 kB / 3.975 GB, free: 18.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.91e-05/10.89, allocations: 11.22 kB / 3.975 GB, free: 18.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/10.91, allocations: 7.525 MB / 3.982 GB, free: 17.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/10.91, allocations: 7.375 kB / 3.982 GB, free: 17.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/10.91, allocations: 212.8 kB / 3.983 GB, free: 17.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03044/10.94, allocations: 4.276 MB / 3.987 GB, free: 17.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002776/10.94, allocations: 30.38 kB / 3.987 GB, free: 17.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003924/10.94, allocations: 2.339 MB / 3.989 GB, free: 16.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/10.94, allocations: 0 / 3.989 GB, free: 16.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006278/10.95, allocations: 3.509 MB / 3.993 GB, free: 16.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/10.95, allocations: 0.6434 MB / 3.993 GB, free: 16.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004049/10.95, allocations: 28.53 kB / 3.993 GB, free: 16.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/10.95, allocations: 124.9 kB / 3.993 GB, free: 16.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/10.95, allocations: 102.1 kB / 3.993 GB, free: 16.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/10.95, allocations: 45.83 kB / 3.994 GB, free: 16.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001959/10.96, allocations: 1.043 MB / 3.995 GB, free: 16.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.78e-07/10.96, allocations: 3.938 kB / 3.995 GB, free: 16.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008535/10.97, allocations: 1.948 MB / 3.996 GB, free: 15.77 MB / 490.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.01039/10.98, allocations: 2.215 MB / 3.999 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007174/10.98, allocations: 2.717 MB / 4.001 GB, free: 15.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/10.98, allocations: 2 kB / 4.001 GB, free: 15.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003044/10.99, allocations: 1.375 MB / 4.003 GB, free: 15.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00489/10.99, allocations: 0.6909 MB / 4.003 GB, free: 15.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0073/11, allocations: 3.378 MB / 4.007 GB, free: 14.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/11, allocations: 1.636 MB / 4.008 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0042/11, allocations: 1.527 MB / 4.01 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/11, allocations: 96.31 kB / 4.01 GB, free: 13.46 MB / 490.7 MB Notification: Performance of SimCode: time 1.845e-06/11, allocations: 0 / 4.01 GB, free: 13.46 MB / 490.7 MB Notification: Performance of Templates: time 0.4593/11.46, allocations: 71.28 MB / 4.079 GB, free: 61.29 MB / 0.4948 GB