Running command: translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadModel(Modelica): time 1.07/1.07, allocations: 111.1 MB / 126.3 MB, free: 6.402 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 5.074e-05/5.068e-05, allocations: 7.984 kB / 154.5 MB, free: 2.832 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06519/0.06527, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.2706/0.3359, allocations: 59.91 MB / 239.6 MB, free: 6.797 MB / 186.7 MB Notification: Performance of NFInst.instExpressions: time 0.05652/0.3925, allocations: 20.27 MB / 259.9 MB, free: 3.418 MB / 202.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.3946, allocations: 51.56 kB / 259.9 MB, free: 3.367 MB / 202.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.3973, allocations: 0.587 MB / 260.5 MB, free: 2.777 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Machines.mo:422:5-423:45:writable] Warning: Conditional component state_a is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Machines.mo:424:5-425:46:writable] Warning: Conditional component NPSPa is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Machines.mo:424:5-425:46:writable] Warning: Conditional component rho_in is used in a non-connect context. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Machines.mo:426:5-428:50:writable] Warning: Conditional component state_a is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.01794/0.4152, allocations: 4.557 MB / 265.1 MB, free: 14.21 MB / 218.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0119/0.4272, allocations: 2.901 MB / 268 MB, free: 11.3 MB / 218.7 MB Notification: Performance of NFFlatten.flatten: time 0.004217/0.4314, allocations: 1.475 MB / 269.4 MB, free: 9.82 MB / 218.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.4331, allocations: 0.6412 MB / 270.1 MB, free: 9.18 MB / 218.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/0.4365, allocations: 1.029 MB / 271.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03595/0.4725, allocations: 14.51 MB / 285.6 MB, free: 9.629 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2621/0.7347, allocations: 10.02 MB / 295.6 MB, free: 24.69 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003423/0.7382, allocations: 458 kB / 296.1 MB, free: 24.69 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009914/0.7392, allocations: 358.7 kB / 296.4 MB, free: 24.69 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.7403, allocations: 155.8 kB / 296.6 MB, free: 24.69 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.7524, allocations: 4.193 MB / 300.8 MB, free: 24.46 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7524, allocations: 0 / 300.8 MB, free: 24.46 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.7524, allocations: 1.406 kB / 300.8 MB, free: 24.46 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.259e-05/0.7525, allocations: 1.594 kB / 300.8 MB, free: 24.46 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.01304/0.7656, allocations: 2.208 MB / 303 MB, free: 23.48 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.7657, allocations: 9.469 kB / 303 MB, free: 23.48 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009408/0.7666, allocations: 153.6 kB / 303.1 MB, free: 23.4 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/0.7695, allocations: 0.9196 MB / 304.1 MB, free: 23.1 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.7698, allocations: 91.86 kB / 304.2 MB, free: 23.1 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005202/0.7703, allocations: 100 kB / 304.2 MB, free: 23.1 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007173/0.7775, allocations: 2.069 MB / 306.3 MB, free: 22.81 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.502e-05/0.7776, allocations: 0.5 kB / 306.3 MB, free: 22.81 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.7779, allocations: 48.89 kB / 306.4 MB, free: 22.81 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/0.7781, allocations: 80.73 kB / 306.4 MB, free: 22.81 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008534/0.7866, allocations: 2.482 MB / 308.9 MB, free: 22.81 MB / 234.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01858/0.8053, allocations: 9.156 MB / 318.1 MB, free: 17.64 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/0.8108, allocations: 1.446 MB / 319.5 MB, free: 17.6 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2545/1.065, allocations: 71.29 MB / 390.8 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/1.065, allocations: 51.27 kB / 390.9 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001262/1.067, allocations: 154.4 kB / 391 MB, free: 8.316 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 5.801e-06/1.067, allocations: 4 kB / 391 MB, free: 8.312 MB / 298.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=152): time 0.2952/1.362, allocations: 14.57 MB / 405.6 MB, free: 141.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/1.362, allocations: 226.4 kB / 405.8 MB, free: 140.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/1.365, allocations: 0.7356 MB / 406.5 MB, free: 140.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007773/1.365, allocations: 53.36 kB / 406.6 MB, free: 140.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007127/1.366, allocations: 0.594 MB / 407.2 MB, free: 140.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001415/1.368, allocations: 0.5124 MB / 407.7 MB, free: 139.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005082/1.368, allocations: 34.44 kB / 407.7 MB, free: 139.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/1.368, allocations: 378.7 kB / 408.1 MB, free: 139.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007916/1.376, allocations: 1.433 MB / 409.5 MB, free: 138.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008492/1.385, allocations: 1.892 MB / 411.4 MB, free: 137.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008438/1.393, allocations: 1.583 MB / 413 MB, free: 137.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/1.393, allocations: 5.25 kB / 413 MB, free: 137.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.03233/1.426, allocations: 4.861 MB / 417.9 MB, free: 135.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/1.426, allocations: 15.5 kB / 417.9 MB, free: 135.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.56e-05/1.426, allocations: 12.94 kB / 417.9 MB, free: 135.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1052/1.531, allocations: 7.416 MB / 425.3 MB, free: 130.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/1.534, allocations: 355.5 kB / 425.7 MB, free: 130.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/1.554, allocations: 9.89 MB / 435.6 MB, free: 120.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00463/1.559, allocations: 196 kB / 435.8 MB, free: 120.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006542/1.56, allocations: 127.9 kB / 435.9 MB, free: 120 MB / 298.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: 11 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,orifice.state_b.phase,orifice.state_a.phase,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 initialization (154): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {5 19,5 31,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001711/1.561, allocations: 401.3 kB / 436.3 MB, free: 119.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006309/1.562, allocations: 140 kB / 436.4 MB, free: 119.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02526/1.587, allocations: 7.861 MB / 444.3 MB, free: 111.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.142e-05/1.587, allocations: 55.92 kB / 444.3 MB, free: 111.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/1.587, allocations: 0 / 444.3 MB, free: 111.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.458e-05/1.587, allocations: 7.969 kB / 444.3 MB, free: 111.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03033/1.618, allocations: 11.37 MB / 455.7 MB, free: 100 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.561e-05/1.618, allocations: 0 / 455.7 MB, free: 100 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/1.62, allocations: 251.7 kB / 455.9 MB, free: 99.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07598/1.696, allocations: 7.41 MB / 463.4 MB, free: 92.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006101/1.697, allocations: 63.11 kB / 463.4 MB, free: 92.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02369/1.72, allocations: 10.54 MB / 474 MB, free: 81.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/1.721, allocations: 7.984 kB / 474 MB, free: 81.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02012/1.741, allocations: 6.541 MB / 480.5 MB, free: 74.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/1.743, allocations: 0.6345 MB / 481.1 MB, free: 74.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007564/1.743, allocations: 28 kB / 481.2 MB, free: 74.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003645/1.747, allocations: 179.8 kB / 481.3 MB, free: 74.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005496/1.748, allocations: 137.8 kB / 481.5 MB, free: 73.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004941/1.748, allocations: 75.95 kB / 481.5 MB, free: 73.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001732/1.75, allocations: 0.5679 MB / 482.1 MB, free: 73.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.001e-06/1.75, allocations: 0 / 482.1 MB, free: 73.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0112/1.761, allocations: 1.801 MB / 483.9 MB, free: 71.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 29 ($cse3.phase,$cse6.phase,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse39.phase,$cse39.region,$cse42.phase,$cse42.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 (121): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {5 17,1 1,6 42,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01283/1.774, allocations: 1.856 MB / 485.8 MB, free: 69.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.01785/1.792, allocations: 4.451 MB / 490.2 MB, free: 65.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.792, allocations: 8.125 kB / 490.2 MB, free: 65.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01383/1.806, allocations: 3.072 MB / 493.3 MB, free: 62.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005681/1.812, allocations: 0.5992 MB / 493.9 MB, free: 61.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/1.824, allocations: 5.852 MB / 499.8 MB, free: 55.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.826, allocations: 1.514 MB / 0.4895 GB, free: 54.37 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008748/1.826, allocations: 147.4 kB / 0.4897 GB, free: 54.23 MB / 298.7 MB Notification: Performance of SimCode: time 1.272e-06/1.826, allocations: 3.5 kB / 0.4897 GB, free: 54.23 MB / 298.7 MB Notification: Performance of Templates: time 0.4943/2.321, allocations: 129.3 MB / 0.6159 GB, free: 131.4 MB / 298.7 MB