Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.537/2.537, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.92e-05, allocations: 4 kB / 299.5 MB, free: 6.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4013, allocations: 54.86 MB / 354.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.5598, allocations: 87.61 MB / 442 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/0.5603, allocations: 87.94 kB / 442.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05345/0.6137, allocations: 11.56 MB / 453.6 MB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6138, allocations: 0 / 453.6 MB, free: 14.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.6138, allocations: 4 kB / 453.6 MB, free: 14.84 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00136/0.6152, allocations: 0.6116 MB / 454.2 MB, free: 14.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.6153, allocations: 12.03 kB / 454.2 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.6154, allocations: 47.39 kB / 454.3 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.616, allocations: 294.4 kB / 454.6 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.616, allocations: 12 kB / 454.6 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.392e-05/0.6161, allocations: 28 kB / 454.6 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00131/0.6174, allocations: 0.5764 MB / 455.2 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.6188, allocations: 0.5621 MB / 455.8 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.6188, allocations: 7.953 kB / 455.8 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/0.6189, allocations: 0 / 455.8 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-05/0.619, allocations: 41.28 kB / 455.8 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.6226, allocations: 1.226 MB / 457 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.6239, allocations: 0.5023 MB / 457.5 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004281/0.6244, allocations: 164.7 kB / 457.7 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.459e-05/0.6245, allocations: 15.92 kB / 457.7 MB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.6245, allocations: 38.56 kB / 457.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 4.699e-06/0.6245, allocations: 0 / 457.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.00119/0.6257, allocations: 397.5 kB / 458.1 MB, free: 10.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.6258, allocations: 55.41 kB / 458.2 MB, free: 10.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.6261, allocations: 170.8 kB / 458.4 MB, free: 9.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.6261, allocations: 29.7 kB / 458.4 MB, free: 9.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.6263, allocations: 228.3 kB / 458.6 MB, free: 9.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.6265, allocations: 122.2 kB / 458.7 MB, free: 9.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.6265, allocations: 4 kB / 458.7 MB, free: 9.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6267, allocations: 330.8 kB / 459.1 MB, free: 9.203 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.6271, allocations: 164.7 kB / 459.2 MB, free: 9.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.6277, allocations: 254.5 kB / 459.5 MB, free: 8.754 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/0.6282, allocations: 195.9 kB / 459.7 MB, free: 8.562 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.6282, allocations: 4 kB / 459.7 MB, free: 8.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001292/0.6295, allocations: 480.2 kB / 460.1 MB, free: 8.082 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.6296, allocations: 11.98 kB / 460.1 MB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6296, allocations: 0 / 460.1 MB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.6297, allocations: 8.375 kB / 460.1 MB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.6317, allocations: 207.8 kB / 460.4 MB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005213/0.6369, allocations: 7.321 MB / 467.7 MB, free: 264 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005434/0.6375, allocations: 28.14 kB / 467.7 MB, free: 236 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.781e-05/0.6376, allocations: 20 kB / 467.7 MB, free: 216 kB / 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.0002107/0.6378, allocations: 124.8 kB / 467.8 MB, free: 84 kB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001127/0.6389, allocations: 408.8 kB / 468.2 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.639, allocations: 23.66 kB / 468.3 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.6406, allocations: 0.5312 MB / 468.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.6407, allocations: 8 kB / 468.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.6407, allocations: 7.984 kB / 468.8 MB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.6407, allocations: 0 / 468.8 MB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008242/0.6415, allocations: 385.7 kB / 469.2 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.6415, allocations: 3.938 kB / 469.2 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/0.6435, allocations: 199.8 kB / 469.4 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/0.6435, allocations: 4 kB / 469.4 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.6436, allocations: 7.984 kB / 469.4 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005172/0.6488, allocations: 7.321 MB / 476.7 MB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.6488, allocations: 0 / 476.7 MB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.65, allocations: 0.5038 MB / 477.2 MB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.514e-05/0.6501, allocations: 105 kB / 477.3 MB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.6502, allocations: 0 / 477.3 MB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.6506, allocations: 7.984 kB / 477.3 MB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.6508, allocations: 27.95 kB / 477.4 MB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/0.6509, allocations: 19.98 kB / 477.4 MB, free: 6.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.651, allocations: 124.3 kB / 477.5 MB, free: 6.059 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.651, allocations: 0 / 477.5 MB, free: 6.059 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008307/0.6519, allocations: 155.4 kB / 477.7 MB, free: 5.906 MB / 410.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.001801/0.6537, allocations: 1.114 MB / 478.8 MB, free: 4.766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.6561, allocations: 0.4919 MB / 479.3 MB, free: 4.273 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6561, allocations: 0 / 479.3 MB, free: 4.273 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.6579, allocations: 304.2 kB / 479.6 MB, free: 3.977 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.6583, allocations: 15.98 kB / 479.6 MB, free: 3.961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.6607, allocations: 0.7609 MB / 480.3 MB, free: 3.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.6614, allocations: 0.893 MB / 481.2 MB, free: 2.238 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004906/0.6619, allocations: 109.8 kB / 481.3 MB, free: 2.129 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.6622, allocations: 123.4 kB / 481.5 MB, free: 2.008 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6622, allocations: 0 / 481.5 MB, free: 2.008 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04933/0.7116, allocations: 8.029 MB / 489.5 MB, free: 10.01 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000325/0.712, allocations: 187.6 kB / 489.7 MB, free: 9.812 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.561, allocations: 3.938 kB / 489.7 MB, free: 9.809 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat