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_cpp_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadModel(Modelica): time 1.84/1.84, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.499e-05/2.52e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2507, allocations: 44.49 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.258/6.509, allocations: 2.639 GB / 2.926 GB, free: 16.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/6.509, allocations: 75.95 kB / 2.926 GB, free: 16.16 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.377/9.886, allocations: 0.7367 GB / 3.663 GB, free: 28.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.005e-06/9.886, allocations: 0 / 3.663 GB, free: 28.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00014/9.886, allocations: 30.84 kB / 3.663 GB, free: 28.56 MB / 426.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.01269/9.899, allocations: 2.711 MB / 3.666 GB, free: 27.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/9.899, allocations: 9.812 kB / 3.666 GB, free: 27.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006028/9.905, allocations: 0.6042 MB / 3.666 GB, free: 27.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/9.908, allocations: 1.089 MB / 3.667 GB, free: 26.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/9.909, allocations: 45.34 kB / 3.667 GB, free: 26.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004424/9.909, allocations: 64.16 kB / 3.667 GB, free: 26.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004141/9.913, allocations: 1.74 MB / 3.669 GB, free: 26.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003674/9.917, allocations: 1.544 MB / 3.671 GB, free: 26.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/9.917, allocations: 3.938 kB / 3.671 GB, free: 26.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/9.917, allocations: 3.906 kB / 3.671 GB, free: 26.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/9.917, allocations: 81.06 kB / 3.671 GB, free: 26.36 MB / 426.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.6586/10.58, allocations: 136.7 MB / 3.804 GB, free: 17.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/10.58, allocations: 1.048 MB / 3.805 GB, free: 17.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/10.58, allocations: 0.532 MB / 3.806 GB, free: 17.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04085/10.62, allocations: 17.42 MB / 3.823 GB, free: 22.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/10.62, allocations: 46.81 kB / 3.823 GB, free: 22.39 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001431/10.62, allocations: 181.8 kB / 3.823 GB, free: 22.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=91): time 6.602e-06/10.62, allocations: 0 / 3.823 GB, free: 22.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=129): time 0.07636/10.7, allocations: 9.749 MB / 3.833 GB, free: 21.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/10.7, allocations: 225.4 kB / 3.833 GB, free: 21.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/10.7, allocations: 0.7438 MB / 3.833 GB, free: 21.38 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004528/10.7, allocations: 25.7 kB / 3.834 GB, free: 21.35 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005101/10.7, allocations: 0.6497 MB / 3.834 GB, free: 21.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007215/10.7, allocations: 432 kB / 3.835 GB, free: 20.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002923/10.7, allocations: 5.75 kB / 3.835 GB, free: 20.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002428/10.7, allocations: 376.4 kB / 3.835 GB, free: 20.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/10.71, allocations: 1.261 MB / 3.836 GB, free: 20.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003103/10.71, allocations: 1.705 MB / 3.838 GB, free: 19.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009195/10.72, allocations: 1.887 MB / 3.84 GB, free: 19.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.477e-05/10.72, allocations: 7.188 kB / 3.84 GB, free: 19.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01737/10.74, allocations: 4.607 MB / 3.844 GB, free: 19.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002441/10.74, allocations: 4.793 MB / 3.849 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.492e-05/10.74, allocations: 17.98 kB / 3.849 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01846/10.76, allocations: 3.967 MB / 3.853 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/10.76, allocations: 322.5 kB / 3.853 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/10.78, allocations: 5.751 MB / 3.859 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004653/10.78, allocations: 279.8 kB / 3.859 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006228/10.78, allocations: 117.6 kB / 3.859 GB, free: 13.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/10.78, allocations: 5.688 kB / 3.859 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01421/10.8, allocations: 2.905 MB / 3.862 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-05/10.8, allocations: 16.39 kB / 3.862 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00327/10.8, allocations: 0.5626 MB / 3.862 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/10.8, allocations: 453.7 kB / 3.863 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/10.81, allocations: 1.794 MB / 3.865 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/10.81, allocations: 183.2 kB / 3.865 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/10.81, allocations: 98.59 kB / 3.865 GB, free: 12.29 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real 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,pump.heatTransfer.states[1].phase,source.medium.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 (154): * Single equations (assignments): 152 * 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.0008744/10.81, allocations: 172.1 kB / 3.865 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/10.81, allocations: 130.4 kB / 3.865 GB, free: 12.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/10.83, allocations: 6.678 MB / 3.872 GB, free: 8.758 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.104e-05/10.83, allocations: 45.83 kB / 3.872 GB, free: 8.738 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.045e-06/10.83, allocations: 0 / 3.872 GB, free: 8.738 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/10.83, allocations: 6.891 kB / 3.872 GB, free: 8.738 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02126/10.85, allocations: 8.983 MB / 3.881 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/10.85, allocations: 0 / 3.881 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009381/10.85, allocations: 150.3 kB / 3.881 GB, free: 4.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01435/10.86, allocations: 5.241 MB / 3.886 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004242/10.86, allocations: 43.16 kB / 3.886 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.304/11.17, allocations: 6.899 MB / 3.893 GB, free: 74.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.545e-06/11.17, allocations: 4.188 kB / 3.893 GB, free: 74.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/11.18, allocations: 5.642 MB / 3.898 GB, free: 74.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/11.19, allocations: 0.6233 MB / 3.899 GB, free: 74.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006514/11.19, allocations: 5.594 kB / 3.899 GB, free: 74.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004129/11.19, allocations: 198.5 kB / 3.899 GB, free: 74.37 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/11.19, allocations: 94.45 kB / 3.899 GB, free: 74.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002939/11.19, allocations: 71.81 kB / 3.899 GB, free: 74.37 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001446/11.19, allocations: 0.7808 MB / 3.9 GB, free: 74.26 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.616e-06/11.19, allocations: 0 / 3.9 GB, free: 74.26 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009055/11.2, allocations: 2.056 MB / 3.902 GB, free: 74.26 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01082/11.21, allocations: 2.496 MB / 3.904 GB, free: 74.06 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01522/11.23, allocations: 4.785 MB / 3.909 GB, free: 74.03 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.61e-06/11.23, allocations: 0 / 3.909 GB, free: 74.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008252/11.24, allocations: 2.176 MB / 3.911 GB, free: 74 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/11.24, allocations: 482.2 kB / 3.912 GB, free: 74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/11.25, allocations: 3.448 MB / 3.915 GB, free: 73.35 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/11.25, allocations: 1.454 MB / 3.916 GB, free: 72.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006461/11.25, allocations: 123.3 kB / 3.916 GB, free: 72.62 MB / 474.7 MB Notification: Performance of SimCode: time 2.371e-06/11.25, allocations: 1.312 kB / 3.916 GB, free: 72.62 MB / 474.7 MB Notification: Performance of Templates: time 0.1049/11.36, allocations: 68.48 MB / 3.983 GB, free: 68.64 MB / 474.7 MB