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_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadModel(Modelica): time 1.751/1.751, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.736e-05, allocations: 0 / 255.4 MB, free: 2.707 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07967/0.07972, allocations: 44.49 MB / 299.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.955/6.035, allocations: 2.64 GB / 2.932 GB, free: 22.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/6.035, allocations: 77.67 kB / 2.933 GB, free: 22.87 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.516/9.551, allocations: 0.7433 GB / 3.676 GB, free: 23.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.26e-06/9.551, allocations: 0 / 3.676 GB, free: 23.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001251/9.551, allocations: 40.69 kB / 3.676 GB, free: 23.9 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.01066/9.561, allocations: 2.713 MB / 3.679 GB, free: 22.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/9.562, allocations: 8.906 kB / 3.679 GB, free: 22.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006295/9.568, allocations: 0.5984 MB / 3.679 GB, free: 22.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/9.571, allocations: 1.09 MB / 3.68 GB, free: 22.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/9.571, allocations: 88.77 kB / 3.68 GB, free: 22.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/9.571, allocations: 105.2 kB / 3.68 GB, free: 22.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006224/9.578, allocations: 2.243 MB / 3.683 GB, free: 21.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/9.578, allocations: 4.625 kB / 3.683 GB, free: 21.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/9.578, allocations: 50.64 kB / 3.683 GB, free: 21.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/9.578, allocations: 85.62 kB / 3.683 GB, free: 21.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007478/9.586, allocations: 2.234 MB / 3.685 GB, free: 21.77 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.01369/9.599, allocations: 8.918 MB / 3.694 GB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005458/9.605, allocations: 1.643 MB / 3.695 GB, free: 16.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/9.606, allocations: 0.6354 MB / 3.696 GB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04314/9.649, allocations: 18.84 MB / 3.714 GB, free: 20.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/9.65, allocations: 48.64 kB / 3.714 GB, free: 20.45 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001361/9.651, allocations: 197.8 kB / 3.715 GB, free: 20.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=109): time 4.807e-06/9.651, allocations: 3.781 kB / 3.715 GB, free: 20.39 MB / 442.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.07918/9.73, allocations: 11.91 MB / 3.726 GB, free: 19.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/9.73, allocations: 223.9 kB / 3.726 GB, free: 19.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/9.732, allocations: 0.7486 MB / 3.727 GB, free: 18.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004928/9.732, allocations: 49.33 kB / 3.727 GB, free: 18.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/9.733, allocations: 0.5913 MB / 3.728 GB, free: 18.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007592/9.734, allocations: 0.529 MB / 3.728 GB, free: 18.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/9.734, allocations: 37.56 kB / 3.728 GB, free: 18.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000243/9.734, allocations: 375.8 kB / 3.729 GB, free: 17.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/9.737, allocations: 1.245 MB / 3.73 GB, free: 17.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/9.74, allocations: 1.692 MB / 3.731 GB, free: 17.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/9.744, allocations: 1.359 MB / 3.733 GB, free: 16.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/9.744, allocations: 3.031 kB / 3.733 GB, free: 16.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01117/9.755, allocations: 4.071 MB / 3.737 GB, free: 14.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002371/9.757, allocations: 4.8 MB / 3.741 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-05/9.757, allocations: 13.97 kB / 3.741 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09118/9.849, allocations: 7.955 MB / 3.749 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/9.851, allocations: 378.8 kB / 3.75 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/9.865, allocations: 4.646 MB / 3.754 GB, free: 0 / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004214/9.869, allocations: 244.8 kB / 3.754 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006659/9.87, allocations: 132.8 kB / 3.755 GB, free: 15.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/9.87, allocations: 4 kB / 3.755 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0122/9.882, allocations: 3.864 MB / 3.758 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.05e-05/9.882, allocations: 12 kB / 3.758 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/9.892, allocations: 2.643 MB / 3.761 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/9.895, allocations: 446.2 kB / 3.761 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/9.907, allocations: 4.069 MB / 3.765 GB, free: 6.613 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004002/9.911, allocations: 246.4 kB / 3.766 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005477/9.911, allocations: 126 kB / 3.766 GB, free: 6.332 MB / 458.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.0008111/9.912, allocations: 219.4 kB / 3.766 GB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005471/9.913, allocations: 138.3 kB / 3.766 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3053/10.22, allocations: 8.918 MB / 3.775 GB, free: 52.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.409e-05/10.22, allocations: 69.08 kB / 3.775 GB, free: 52.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/10.22, allocations: 0 / 3.775 GB, free: 52.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.035e-05/10.22, allocations: 9.281 kB / 3.775 GB, free: 52.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02738/10.25, allocations: 11.87 MB / 3.786 GB, free: 52.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/10.25, allocations: 0 / 3.786 GB, free: 52.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/10.25, allocations: 273.3 kB / 3.787 GB, free: 52.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.09238/10.34, allocations: 8.869 MB / 3.795 GB, free: 51.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004611/10.34, allocations: 67.66 kB / 3.795 GB, free: 51.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/10.35, allocations: 5.508 MB / 3.801 GB, free: 50.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.645e-06/10.35, allocations: 3 kB / 3.801 GB, free: 50.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/10.37, allocations: 6.753 MB / 3.807 GB, free: 50.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/10.37, allocations: 0.6875 MB / 3.808 GB, free: 50.13 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005768/10.37, allocations: 35.41 kB / 3.808 GB, free: 50.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003389/10.38, allocations: 228.3 kB / 3.808 GB, free: 50.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004865/10.38, allocations: 135.3 kB / 3.808 GB, free: 50.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000327/10.38, allocations: 75.36 kB / 3.808 GB, free: 50.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001359/10.38, allocations: 0.7391 MB / 3.809 GB, free: 50 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.022e-06/10.38, allocations: 4.469 kB / 3.809 GB, free: 50 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009363/10.39, allocations: 2.259 MB / 3.811 GB, free: 50 MB / 458.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.01108/10.4, allocations: 2.427 MB / 3.814 GB, free: 49.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02175/10.42, allocations: 5.961 MB / 3.82 GB, free: 49.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/10.42, allocations: 3.5 kB / 3.82 GB, free: 49.74 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009913/10.43, allocations: 2.816 MB / 3.822 GB, free: 49.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004286/10.44, allocations: 0.5857 MB / 3.823 GB, free: 49.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5657/11, allocations: 126 MB / 3.946 GB, free: 51.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/11, allocations: 1.65 MB / 3.948 GB, free: 50.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004668/11.01, allocations: 1.503 MB / 3.949 GB, free: 50.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/11.01, allocations: 122.1 kB / 3.949 GB, free: 50.63 MB / 458.7 MB Notification: Performance of SimCode: time 1.921e-06/11.01, allocations: 0 / 3.949 GB, free: 50.63 MB / 458.7 MB Notification: Performance of Templates: time 0.1904/11.2, allocations: 106.6 MB / 4.053 GB, free: 30.75 MB / 458.7 MB