Running command: translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.1e-05, allocations: 4 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/0.0945, allocations: 50.42 MB / 342.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.954/7.049, allocations: 2.814 GB / 3.148 GB, free: 56.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/7.049, allocations: 75.47 kB / 3.148 GB, free: 56.61 MB / 442.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.722/10.77, allocations: 0.756 GB / 3.904 GB, free: 28.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.268e-06/10.77, allocations: 1.203 kB / 3.904 GB, free: 28.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001719/10.77, allocations: 37.39 kB / 3.904 GB, free: 28.96 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.0134/10.78, allocations: 2.718 MB / 3.907 GB, free: 27.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/10.78, allocations: 9.188 kB / 3.907 GB, free: 27.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006811/10.79, allocations: 0.6074 MB / 3.907 GB, free: 27.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/10.79, allocations: 1.06 MB / 3.909 GB, free: 27.59 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/10.8, allocations: 93.23 kB / 3.909 GB, free: 27.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005502/10.8, allocations: 106.5 kB / 3.909 GB, free: 27.58 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007844/10.8, allocations: 2.242 MB / 3.911 GB, free: 27.24 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/10.8, allocations: 5.312 kB / 3.911 GB, free: 27.24 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003131/10.8, allocations: 47.98 kB / 3.911 GB, free: 27.24 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/10.8, allocations: 87.44 kB / 3.911 GB, free: 27.24 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008196/10.81, allocations: 2.245 MB / 3.913 GB, free: 27.23 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.0195/10.83, allocations: 9.215 MB / 3.922 GB, free: 22.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005891/10.84, allocations: 1.733 MB / 3.924 GB, free: 22.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/10.84, allocations: 0.6805 MB / 3.925 GB, free: 22.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05938/10.9, allocations: 24.52 MB / 3.949 GB, free: 23.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/10.9, allocations: 50.09 kB / 3.949 GB, free: 23.19 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001709/10.9, allocations: 207 kB / 3.949 GB, free: 23.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=109): time 6.479e-06/10.9, allocations: 2.688 kB / 3.949 GB, free: 23.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=109): time 0.01168/10.91, allocations: 2.601 MB / 3.951 GB, free: 23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/10.91, allocations: 222.9 kB / 3.952 GB, free: 22.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/10.91, allocations: 0.82 MB / 3.952 GB, free: 22.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003612/10.91, allocations: 50.61 kB / 3.952 GB, free: 22.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/10.92, allocations: 0.5513 MB / 3.953 GB, free: 22.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00055/10.92, allocations: 380.1 kB / 3.953 GB, free: 22.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/10.92, allocations: 25.12 kB / 3.953 GB, free: 22.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002256/10.92, allocations: 360.8 kB / 3.954 GB, free: 21.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/10.92, allocations: 0.5495 MB / 3.954 GB, free: 21.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/10.92, allocations: 0.9071 MB / 3.955 GB, free: 21.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/10.92, allocations: 0.6724 MB / 3.956 GB, free: 21.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/10.92, allocations: 3.812 kB / 3.956 GB, free: 21.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004666/10.93, allocations: 1.75 MB / 3.957 GB, free: 21.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001913/10.93, allocations: 3.756 MB / 3.961 GB, free: 17.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/10.93, allocations: 13.38 kB / 3.961 GB, free: 17.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03313/10.96, allocations: 2.989 MB / 3.964 GB, free: 17.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/10.96, allocations: 282 kB / 3.964 GB, free: 17.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/10.97, allocations: 1.39 MB / 3.966 GB, free: 16.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/10.97, allocations: 137.1 kB / 3.966 GB, free: 16.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004148/10.97, allocations: 75.14 kB / 3.966 GB, free: 16.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/10.97, allocations: 5.656 kB / 3.966 GB, free: 16.74 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005178/10.97, allocations: 1.56 MB / 3.967 GB, free: 16.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/10.97, allocations: 10.28 kB / 3.967 GB, free: 16.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/10.98, allocations: 193.6 kB / 3.968 GB, free: 16.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/10.98, allocations: 354.5 kB / 3.968 GB, free: 16.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/10.98, allocations: 0.7361 MB / 3.969 GB, free: 16.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/10.98, allocations: 138.5 kB / 3.969 GB, free: 16.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003533/10.98, allocations: 71.31 kB / 3.969 GB, free: 16.17 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.0005809/10.98, allocations: 190.9 kB / 3.969 GB, free: 16.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/10.98, allocations: 134.4 kB / 3.969 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009646/10.99, allocations: 5.486 MB / 3.975 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.36e-05/10.99, allocations: 55.59 kB / 3.975 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/10.99, allocations: 5.969 kB / 3.975 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.38e-05/10.99, allocations: 10.78 kB / 3.975 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/11.01, allocations: 7.532 MB / 3.982 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/11.01, allocations: 7.328 kB / 3.982 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/11.01, allocations: 204.6 kB / 3.982 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03002/11.04, allocations: 4.285 MB / 3.986 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002819/11.04, allocations: 31.78 kB / 3.986 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003776/11.04, allocations: 2.341 MB / 3.989 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.196e-06/11.04, allocations: 9.469 kB / 3.989 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006319/11.05, allocations: 3.495 MB / 3.992 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/11.05, allocations: 0.6497 MB / 3.993 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005553/11.05, allocations: 28 kB / 3.993 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/11.05, allocations: 124.7 kB / 3.993 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/11.05, allocations: 100.3 kB / 3.993 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/11.05, allocations: 42.22 kB / 3.993 GB, free: 13.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002028/11.06, allocations: 1.042 MB / 3.994 GB, free: 13.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.4e-07/11.06, allocations: 0 / 3.994 GB, free: 13.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008744/11.06, allocations: 1.961 MB / 3.996 GB, free: 12.96 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.01019/11.07, allocations: 2.204 MB / 3.998 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007377/11.08, allocations: 2.684 MB / 4.001 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.31e-06/11.08, allocations: 7.156 kB / 4.001 GB, free: 12.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003311/11.09, allocations: 1.372 MB / 4.002 GB, free: 12.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005038/11.09, allocations: 0.6915 MB / 4.003 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007603/11.1, allocations: 3.433 MB / 4.006 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/11.1, allocations: 1.625 MB / 4.008 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/11.1, allocations: 117.2 kB / 4.008 GB, free: 10.85 MB / 490.7 MB Notification: Performance of SimCode: time 2.12e-06/11.1, allocations: 3.938 kB / 4.008 GB, free: 10.85 MB / 490.7 MB Notification: Performance of Templates: time 0.09123/11.19, allocations: 57.31 MB / 4.064 GB, free: 15.71 MB / 0.4948 GB