Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.601/2.601, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.578e-05, allocations: 0 / 299.6 MB, free: 176 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3934, allocations: 54.85 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.5815, allocations: 87.61 MB / 442.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004047/0.5819, allocations: 91.92 kB / 442.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06805/0.65, allocations: 13.86 MB / 456 MB, free: 9.297 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.65, allocations: 0 / 456 MB, free: 9.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.6501, allocations: 4 kB / 456 MB, free: 9.293 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001657/0.6518, allocations: 0.6389 MB / 456.7 MB, free: 8.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.6518, allocations: 12.03 kB / 456.7 MB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.652, allocations: 55.3 kB / 456.7 MB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007489/0.6528, allocations: 300 kB / 457 MB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.6529, allocations: 19.98 kB / 457 MB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.653, allocations: 32 kB / 457.1 MB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001587/0.6546, allocations: 0.6232 MB / 457.7 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.6562, allocations: 0.5894 MB / 458.3 MB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.6562, allocations: 11.94 kB / 458.3 MB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.6563, allocations: 3.984 kB / 458.3 MB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.6564, allocations: 45.25 kB / 458.3 MB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/0.6603, allocations: 1.292 MB / 459.6 MB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.6618, allocations: 0.5021 MB / 460.1 MB, free: 5.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.6623, allocations: 164.7 kB / 460.3 MB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.647e-05/0.6624, allocations: 11.97 kB / 460.3 MB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.6625, allocations: 46.5 kB / 460.3 MB, free: 4.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.677e-06/0.6625, allocations: 0 / 460.3 MB, free: 4.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.001336/0.6638, allocations: 393.6 kB / 460.7 MB, free: 4.406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.6639, allocations: 59.14 kB / 460.8 MB, free: 4.336 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.6642, allocations: 170.5 kB / 461 MB, free: 4.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.6642, allocations: 29.7 kB / 461 MB, free: 4.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.6645, allocations: 240.2 kB / 461.2 MB, free: 3.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.6647, allocations: 126.1 kB / 461.3 MB, free: 3.758 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.6647, allocations: 0 / 461.3 MB, free: 3.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.6649, allocations: 342.8 kB / 461.7 MB, free: 3.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.6654, allocations: 160.7 kB / 461.8 MB, free: 3.258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.666, allocations: 246.5 kB / 462.1 MB, free: 2.977 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.6666, allocations: 207.8 kB / 462.3 MB, free: 2.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.6666, allocations: 8 kB / 462.3 MB, free: 2.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001467/0.6681, allocations: 472.4 kB / 462.7 MB, free: 2.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.6682, allocations: 11.94 kB / 462.8 MB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.6682, allocations: 4 kB / 462.8 MB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.6682, allocations: 4 kB / 462.8 MB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/0.6706, allocations: 212.1 kB / 463 MB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3145/0.9851, allocations: 7.345 MB / 470.3 MB, free: 94.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.9858, allocations: 27.11 kB / 470.3 MB, free: 94.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/0.9859, allocations: 23.33 kB / 470.4 MB, free: 94.96 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.9861, allocations: 124.1 kB / 470.5 MB, free: 94.85 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001411/0.9875, allocations: 408.8 kB / 470.9 MB, free: 94.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.562e-05/0.9876, allocations: 23.72 kB / 470.9 MB, free: 94.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.9897, allocations: 0.5461 MB / 471.5 MB, free: 94.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.9897, allocations: 3.781 kB / 471.5 MB, free: 94.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.9897, allocations: 0.6094 kB / 471.5 MB, free: 94.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.9898, allocations: 1.969 kB / 471.5 MB, free: 94.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009258/0.9907, allocations: 395 kB / 471.8 MB, free: 94.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.9907, allocations: 7.797 kB / 471.9 MB, free: 94.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/0.9929, allocations: 206.8 kB / 472.1 MB, free: 94.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/0.993, allocations: 1.312 kB / 472.1 MB, free: 94.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.9931, allocations: 13.98 kB / 472.1 MB, free: 94.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003943/0.997, allocations: 7.335 MB / 479.4 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.9971, allocations: 4.672 kB / 479.4 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.9985, allocations: 0.5006 MB / 479.9 MB, free: 87.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.9985, allocations: 106.7 kB / 480 MB, free: 87.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/0.9986, allocations: 2.422 kB / 480 MB, free: 87.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.9991, allocations: 9.609 kB / 480 MB, free: 87.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.9993, allocations: 32.05 kB / 480.1 MB, free: 87.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.9993, allocations: 13.17 kB / 480.1 MB, free: 87.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.9995, allocations: 131.3 kB / 480.2 MB, free: 87.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.62e-07/0.9995, allocations: 0 / 480.2 MB, free: 87.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009242/1, allocations: 164.6 kB / 480.4 MB, free: 87.22 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001803/1.002, allocations: 1.132 MB / 481.5 MB, free: 86.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002494/1.005, allocations: 0.4949 MB / 482 MB, free: 86.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.005, allocations: 0 / 482 MB, free: 86.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001819/1.007, allocations: 311.3 kB / 482.3 MB, free: 86.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/1.007, allocations: 32.55 kB / 482.3 MB, free: 86.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/1.01, allocations: 0.7923 MB / 483.1 MB, free: 86.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/1.01, allocations: 0.9144 MB / 484 MB, free: 85.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000502/1.011, allocations: 115 kB / 484.1 MB, free: 85.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/1.011, allocations: 133.2 kB / 484.3 MB, free: 85.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.233e-06/1.011, allocations: 0 / 484.3 MB, free: 85.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0588/1.07, allocations: 8.128 MB / 492.4 MB, free: 82.27 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002326/1.07, allocations: 194.7 kB / 492.6 MB, free: 82.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.141/4.211, allocations: 0 / 492.6 MB, free: 82.08 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat