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_4.0.0_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.473e-05, allocations: 4 kB / 292.1 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.0986, allocations: 50.41 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.211/7.31, allocations: 2.814 GB / 3.148 GB, free: 5.785 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/7.31, allocations: 73.22 kB / 3.148 GB, free: 5.754 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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.654/10.96, allocations: 0.756 GB / 3.904 GB, free: 32.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.358e-06/10.96, allocations: 0 / 3.904 GB, free: 32.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002833/10.96, allocations: 40.8 kB / 3.904 GB, free: 32.83 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.01166/10.98, allocations: 2.721 MB / 3.907 GB, free: 31.56 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/10.98, allocations: 7.812 kB / 3.907 GB, free: 31.56 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00661/10.98, allocations: 0.6091 MB / 3.907 GB, free: 31.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/10.99, allocations: 1.07 MB / 3.908 GB, free: 31.15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/10.99, allocations: 95.44 kB / 3.909 GB, free: 31.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/10.99, allocations: 101.3 kB / 3.909 GB, free: 31.14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007084/10.99, allocations: 2.24 MB / 3.911 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/10.99, allocations: 4.781 kB / 3.911 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/10.99, allocations: 55.25 kB / 3.911 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/10.99, allocations: 87.03 kB / 3.911 GB, free: 30.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007638/11, allocations: 2.237 MB / 3.913 GB, free: 30.79 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.01667/11.02, allocations: 9.214 MB / 3.922 GB, free: 25.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005325/11.02, allocations: 1.739 MB / 3.924 GB, free: 25.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/11.03, allocations: 0.6801 MB / 3.925 GB, free: 25.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05838/11.08, allocations: 24.52 MB / 3.948 GB, free: 26.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/11.08, allocations: 48.56 kB / 3.949 GB, free: 26.62 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001469/11.09, allocations: 212.5 kB / 3.949 GB, free: 26.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=109): time 6.128e-06/11.09, allocations: 0 / 3.949 GB, free: 26.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=109): time 0.01152/11.1, allocations: 2.601 MB / 3.951 GB, free: 26.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/11.1, allocations: 219.9 kB / 3.951 GB, free: 26.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/11.1, allocations: 0.8278 MB / 3.952 GB, free: 25.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003159/11.1, allocations: 50.95 kB / 3.952 GB, free: 25.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/11.1, allocations: 0.5551 MB / 3.953 GB, free: 25.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/11.1, allocations: 378.6 kB / 3.953 GB, free: 25.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/11.1, allocations: 27.72 kB / 3.953 GB, free: 25.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002044/11.1, allocations: 352 kB / 3.954 GB, free: 25.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/11.1, allocations: 0.55 MB / 3.954 GB, free: 25.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/11.1, allocations: 0.9053 MB / 3.955 GB, free: 24.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/11.1, allocations: 0.6732 MB / 3.956 GB, free: 24.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/11.1, allocations: 3.562 kB / 3.956 GB, free: 24.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004908/11.11, allocations: 1.829 MB / 3.957 GB, free: 24.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001889/11.11, allocations: 3.753 MB / 3.961 GB, free: 20.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/11.11, allocations: 7.25 kB / 3.961 GB, free: 20.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03232/11.14, allocations: 2.98 MB / 3.964 GB, free: 20.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/11.15, allocations: 279.2 kB / 3.964 GB, free: 20.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/11.15, allocations: 1.399 MB / 3.966 GB, free: 19.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/11.15, allocations: 146.3 kB / 3.966 GB, free: 19.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/11.15, allocations: 72.12 kB / 3.966 GB, free: 19.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/11.15, allocations: 3.375 kB / 3.966 GB, free: 19.96 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004889/11.16, allocations: 1.561 MB / 3.967 GB, free: 19.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/11.16, allocations: 11.56 kB / 3.967 GB, free: 19.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/11.16, allocations: 194.6 kB / 3.968 GB, free: 19.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/11.16, allocations: 341.8 kB / 3.968 GB, free: 19.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/11.16, allocations: 0.7433 MB / 3.969 GB, free: 19.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/11.16, allocations: 145.5 kB / 3.969 GB, free: 19.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/11.16, allocations: 74.75 kB / 3.969 GB, free: 19.37 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.0005148/11.16, allocations: 196.9 kB / 3.969 GB, free: 19.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/11.17, allocations: 126.9 kB / 3.969 GB, free: 19.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008822/11.17, allocations: 5.49 MB / 3.975 GB, free: 18.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.08e-05/11.17, allocations: 60.16 kB / 3.975 GB, free: 18.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/11.17, allocations: 5.875 kB / 3.975 GB, free: 18.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/11.17, allocations: 7.688 kB / 3.975 GB, free: 18.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/11.19, allocations: 7.528 MB / 3.982 GB, free: 17.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/11.19, allocations: 0 / 3.982 GB, free: 17.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/11.19, allocations: 210.7 kB / 3.982 GB, free: 17.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03018/11.22, allocations: 4.282 MB / 3.986 GB, free: 17.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002678/11.22, allocations: 32.28 kB / 3.986 GB, free: 17.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003929/11.22, allocations: 2.339 MB / 3.989 GB, free: 17.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.265e-06/11.22, allocations: 7.844 kB / 3.989 GB, free: 17.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006254/11.23, allocations: 3.504 MB / 3.992 GB, free: 16.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/11.23, allocations: 0.642 MB / 3.993 GB, free: 16.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/11.23, allocations: 23.03 kB / 3.993 GB, free: 16.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/11.23, allocations: 133.2 kB / 3.993 GB, free: 16.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/11.23, allocations: 100.4 kB / 3.993 GB, free: 16.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/11.23, allocations: 40 kB / 3.993 GB, free: 16.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002074/11.24, allocations: 1.04 MB / 3.994 GB, free: 16.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.094e-06/11.24, allocations: 0 / 3.994 GB, free: 16.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007525/11.24, allocations: 1.961 MB / 3.996 GB, free: 16 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.00996/11.25, allocations: 2.212 MB / 3.998 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006917/11.26, allocations: 2.717 MB / 4.001 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.084e-06/11.26, allocations: 3.531 kB / 4.001 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003123/11.26, allocations: 1.373 MB / 4.002 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/11.27, allocations: 0.6877 MB / 4.003 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006837/11.27, allocations: 3.382 MB / 4.006 GB, free: 14.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/11.28, allocations: 1.629 MB / 4.008 GB, free: 13.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003756/11.28, allocations: 1.531 MB / 4.009 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/11.28, allocations: 95.38 kB / 4.009 GB, free: 13.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.745e-06/11.28, allocations: 0 / 4.009 GB, free: 13.7 MB / 490.7 MB Notification: Performance of Templates: time 0.4566/11.74, allocations: 71.02 MB / 4.079 GB, free: 61.17 MB / 0.4948 GB