Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.85e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5188, allocations: 81.84 MB / 403.7 MB, free: 7.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.5192, allocations: 87.94 kB / 403.8 MB, free: 7.664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06046/0.5797, allocations: 14.34 MB / 418.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5797, allocations: 0 / 418.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.5798, allocations: 8 kB / 418.2 MB, free: 9.105 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001265/0.581, allocations: 0.6156 MB / 418.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.5811, allocations: 8.031 kB / 418.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.5813, allocations: 98.5 kB / 418.9 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.5814, allocations: 55.38 kB / 418.9 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/0.5821, allocations: 298.3 kB / 419.2 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.5821, allocations: 37.31 kB / 419.3 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.5823, allocations: 48 kB / 419.3 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.5838, allocations: 0.6233 MB / 419.9 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.5838, allocations: 3.938 kB / 419.9 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.265e-05/0.5839, allocations: 20 kB / 420 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.589e-05/0.584, allocations: 33.3 kB / 420 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.5853, allocations: 0.4892 MB / 420.5 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004014/0.5894, allocations: 1.449 MB / 421.9 MB, free: 5.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.5909, allocations: 456.4 kB / 422.4 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.5914, allocations: 140.8 kB / 422.5 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-05/0.5915, allocations: 12 kB / 422.5 MB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.5915, allocations: 38.45 kB / 422.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.517e-06/0.5915, allocations: 0 / 422.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001235/0.5928, allocations: 373.3 kB / 422.9 MB, free: 4.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.5928, allocations: 55.41 kB / 423 MB, free: 4.094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009247/0.5938, allocations: 0.4912 MB / 423.5 MB, free: 3.598 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.5938, allocations: 29.7 kB / 423.5 MB, free: 3.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.5941, allocations: 224.2 kB / 423.7 MB, free: 3.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.5942, allocations: 86.75 kB / 423.8 MB, free: 3.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.5943, allocations: 4 kB / 423.8 MB, free: 3.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.5944, allocations: 362.8 kB / 424.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.5949, allocations: 148.2 kB / 424.3 MB, free: 2.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.5955, allocations: 252.5 kB / 424.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.5961, allocations: 193.2 kB / 424.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5961, allocations: 0 / 424.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001442/0.5976, allocations: 0.4986 MB / 425.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5976, allocations: 4 kB / 425.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.5978, allocations: 43.97 kB / 425.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.5978, allocations: 7.953 kB / 425.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.5982, allocations: 39.91 kB / 425.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.5982, allocations: 11.88 kB / 425.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.5987, allocations: 59.69 kB / 425.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.5988, allocations: 27.98 kB / 425.4 MB, free: 1.566 MB / 346.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002338/0.599, allocations: 133.1 kB / 425.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.5992, allocations: 43.52 kB / 425.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.601, allocations: 0.5204 MB / 426.1 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.601, allocations: 15.89 kB / 426.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.601, allocations: 0 / 426.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.601, allocations: 3.984 kB / 426.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009856/0.602, allocations: 429.1 kB / 426.6 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001219/0.6022, allocations: 43.89 kB / 426.6 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.6025, allocations: 27.98 kB / 426.6 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.6025, allocations: 0 / 426.6 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/0.6026, allocations: 16 kB / 426.6 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6026, allocations: 0 / 426.6 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.6026, allocations: 3.953 kB / 426.6 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.6045, allocations: 0.7024 MB / 427.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.6047, allocations: 132.5 kB / 427.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.6048, allocations: 7.984 kB / 427.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.6052, allocations: 8 kB / 427.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.6053, allocations: 19.97 kB / 427.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.6054, allocations: 19.95 kB / 427.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007155/0.6061, allocations: 389.1 kB / 427.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6061, allocations: 64 / 427.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000812/0.6069, allocations: 167.8 kB / 428.1 MB, free: 14.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002619/0.6096, allocations: 1.361 MB / 429.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.611, allocations: 0.664 MB / 430.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.611, allocations: 0 / 430.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006876/0.6117, allocations: 485.1 kB / 430.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007196/0.6124, allocations: 89.97 kB / 430.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.6158, allocations: 0.9646 MB / 431.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.6166, allocations: 0.8938 MB / 432.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004894/0.6171, allocations: 112.2 kB / 432.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.6174, allocations: 139.4 kB / 432.8 MB, free: 9.883 MB / 362.7 MB Notification: Performance of SimCode: time 1.382e-06/0.6174, allocations: 0 / 432.8 MB, free: 9.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04823/0.6656, allocations: 12.54 MB / 445.3 MB, free: 13.45 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/0.666, allocations: 191.7 kB / 445.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/3.844, allocations: 0 / 445.5 MB, free: 13.23 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat