Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.27/2.27, allocations: 270 MB / 282.7 MB, free: 1.809 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.394e-05, allocations: 11.92 kB / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3209, allocations: 61.87 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.4879, allocations: 111.5 MB / 0.5082 GB, free: 11.08 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.4883, allocations: 99.92 kB / 0.5083 GB, free: 10.98 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:4871:11-4872:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:4893:11-4894:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:4853:11-4869:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:4875:11-4891:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.4341/0.9224, allocations: 28.51 MB / 0.5361 GB, free: 107.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.046e-06/0.9224, allocations: 0 / 0.5361 GB, free: 107.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.9224, allocations: 8 kB / 0.5361 GB, free: 107.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001496/0.9239, allocations: 0.8963 MB / 0.537 GB, free: 106.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.924, allocations: 8.031 kB / 0.537 GB, free: 106.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.9242, allocations: 75.06 kB / 0.5371 GB, free: 106.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.9247, allocations: 358 kB / 0.5374 GB, free: 105.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.9247, allocations: 61.98 kB / 0.5375 GB, free: 105.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.9249, allocations: 72 kB / 0.5375 GB, free: 105.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.9267, allocations: 1.147 MB / 0.5387 GB, free: 104.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.9267, allocations: 4 kB / 0.5387 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.81e-05/0.9268, allocations: 35.92 kB / 0.5387 GB, free: 104.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.928e-05/0.9269, allocations: 77.95 kB / 0.5388 GB, free: 104.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.9294, allocations: 1.652 MB / 0.5404 GB, free: 102.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004549/0.9339, allocations: 2.961 MB / 0.5433 GB, free: 99.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008605/0.9348, allocations: 399.6 kB / 0.5437 GB, free: 99.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.9351, allocations: 133.3 kB / 0.5438 GB, free: 99.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/0.9351, allocations: 12.2 kB / 0.5438 GB, free: 99.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.9352, allocations: 46.78 kB / 0.5438 GB, free: 99.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.375e-06/0.9352, allocations: 0 / 0.5438 GB, free: 99.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006602/0.9358, allocations: 323.7 kB / 0.5442 GB, free: 98.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.9359, allocations: 55.41 kB / 0.5442 GB, free: 98.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.9361, allocations: 181.6 kB / 0.5444 GB, free: 98.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.9361, allocations: 29.7 kB / 0.5444 GB, free: 98.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.9363, allocations: 460.5 kB / 0.5448 GB, free: 98.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.652e-05/0.9364, allocations: 118.3 kB / 0.545 GB, free: 97.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.9364, allocations: 8 kB / 0.545 GB, free: 97.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.9365, allocations: 338.8 kB / 0.5453 GB, free: 97.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.9368, allocations: 129.1 kB / 0.5454 GB, free: 97.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.9371, allocations: 317.3 kB / 0.5457 GB, free: 97.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.9375, allocations: 203.9 kB / 0.5459 GB, free: 96.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.902e-06/0.9375, allocations: 0 / 0.5459 GB, free: 96.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009037/0.9384, allocations: 0.489 MB / 0.5464 GB, free: 96.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.9384, allocations: 8 kB / 0.5464 GB, free: 96.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.951e-06/0.9384, allocations: 4 kB / 0.5464 GB, free: 96.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.9385, allocations: 12 kB / 0.5464 GB, free: 96.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009324/0.9394, allocations: 216.4 kB / 0.5466 GB, free: 96.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.9406, allocations: 2.985 MB / 0.5495 GB, free: 92.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.941, allocations: 67.78 kB / 0.5496 GB, free: 92.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/0.9411, allocations: 28 kB / 0.5496 GB, free: 92.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001234/0.9412, allocations: 134.9 kB / 0.5498 GB, free: 92.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.9413, allocations: 31.73 kB / 0.5498 GB, free: 92.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.9427, allocations: 0.5308 MB / 0.5503 GB, free: 92.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.9427, allocations: 4 kB / 0.5503 GB, free: 92.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.281e-06/0.9427, allocations: 0 / 0.5503 GB, free: 92.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.918e-06/0.9427, allocations: 7.984 kB / 0.5503 GB, free: 92.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.9445, allocations: 1.15 MB / 0.5514 GB, free: 90.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.9445, allocations: 0 / 0.5514 GB, free: 90.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007825/0.9453, allocations: 179.8 kB / 0.5516 GB, free: 90.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.9454, allocations: 8.25 kB / 0.5516 GB, free: 90.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.9454, allocations: 15.98 kB / 0.5516 GB, free: 90.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.9465, allocations: 2.962 MB / 0.5545 GB, free: 87.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.814e-06/0.9465, allocations: 3.938 kB / 0.5545 GB, free: 87.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/0.9472, allocations: 0.5587 MB / 0.5551 GB, free: 87.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.9472, allocations: 108.6 kB / 0.5552 GB, free: 86.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.9473, allocations: 11.98 kB / 0.5552 GB, free: 86.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.9476, allocations: 16 kB / 0.5552 GB, free: 86.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.9477, allocations: 43.84 kB / 0.5552 GB, free: 86.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.9477, allocations: 23.98 kB / 0.5553 GB, free: 86.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.848e-05/0.9478, allocations: 131.2 kB / 0.5554 GB, free: 86.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.9479, allocations: 0 / 0.5554 GB, free: 86.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001231/0.9491, allocations: 378.7 kB / 0.5558 GB, free: 86.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.000837/0.9499, allocations: 424.2 kB / 0.5562 GB, free: 85.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.951, allocations: 409.2 kB / 0.5565 GB, free: 85.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.383e-06/0.951, allocations: 0 / 0.5565 GB, free: 85.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.9517, allocations: 216.5 kB / 0.5568 GB, free: 85.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.952, allocations: 21.06 kB / 0.5568 GB, free: 85.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.9534, allocations: 0.8424 MB / 0.5576 GB, free: 84.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.9539, allocations: 0.9992 MB / 0.5586 GB, free: 83.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.954, allocations: 47.42 kB / 0.5586 GB, free: 83.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.279e-06/0.9541, allocations: 0 / 0.5586 GB, free: 83.27 MB / 442.7 MB Notification: Performance of Templates: time 0.02374/0.9778, allocations: 21.5 MB / 0.5796 GB, free: 61.77 MB / 442.7 MB