Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.361e-05/5.378e-05, allocations: 8 kB / 273.2 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 48.7 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5603, allocations: 87.72 MB / 409.6 MB, free: 1.879 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003596/0.5607, allocations: 99.86 kB / 409.7 MB, free: 1.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1065/0.6672, allocations: 24.04 MB / 433.7 MB, free: 9.559 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6672, allocations: 0 / 433.7 MB, free: 9.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.6673, allocations: 4 kB / 433.7 MB, free: 9.555 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00159/0.6689, allocations: 0.7363 MB / 434.5 MB, free: 8.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.669, allocations: 12.03 kB / 434.5 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.6691, allocations: 102.5 kB / 434.6 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.6693, allocations: 59.3 kB / 434.7 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/0.6699, allocations: 306.3 kB / 434.9 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.6699, allocations: 45.25 kB / 435 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.6701, allocations: 51.94 kB / 435 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.6717, allocations: 0.7307 MB / 435.8 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.6718, allocations: 3.938 kB / 435.8 MB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.6719, allocations: 27.98 kB / 435.8 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.6719, allocations: 25.31 kB / 435.8 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.6732, allocations: 0.4891 MB / 436.3 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/0.6769, allocations: 1.692 MB / 438 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.6777, allocations: 271.6 kB / 438.3 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.6781, allocations: 126.5 kB / 438.4 MB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.361e-05/0.6781, allocations: 7.984 kB / 438.4 MB, free: 4.672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.6782, allocations: 38.5 kB / 438.4 MB, free: 4.625 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 3.717e-06/0.6782, allocations: 4 kB / 438.5 MB, free: 4.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.00105/0.6792, allocations: 324.9 kB / 438.8 MB, free: 4.297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.6793, allocations: 102.8 kB / 438.9 MB, free: 4.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.6804, allocations: 0.5746 MB / 439.4 MB, free: 3.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.6804, allocations: 29.7 kB / 439.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.6807, allocations: 287.3 kB / 439.8 MB, free: 3.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.6809, allocations: 71 kB / 439.8 MB, free: 3.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.6809, allocations: 8 kB / 439.8 MB, free: 3.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.6811, allocations: 366.8 kB / 440.2 MB, free: 2.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.6816, allocations: 161 kB / 440.3 MB, free: 2.668 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.6823, allocations: 425.5 kB / 440.8 MB, free: 2.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/0.6829, allocations: 235.7 kB / 441 MB, free: 1.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.6829, allocations: 0 / 441 MB, free: 1.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001644/0.6846, allocations: 0.6243 MB / 441.6 MB, free: 1.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.6846, allocations: 8.938 kB / 441.6 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/0.6848, allocations: 55.95 kB / 441.7 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/0.6848, allocations: 12 kB / 441.7 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.6854, allocations: 79.83 kB / 441.8 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.221e-05/0.6854, allocations: 23.88 kB / 441.8 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.6862, allocations: 83.27 kB / 441.9 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.901e-05/0.6863, allocations: 35.98 kB / 441.9 MB, free: 0.9766 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * 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.0002033/0.6865, allocations: 171.7 kB / 442.1 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.6867, allocations: 47.34 kB / 442.1 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.6881, allocations: 457.1 kB / 442.6 MB, free: 300 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.6881, allocations: 4 kB / 442.6 MB, free: 296 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6881, allocations: 0 / 442.6 MB, free: 296 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.6882, allocations: 7.938 kB / 442.6 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009541/0.6891, allocations: 405.4 kB / 443 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001232/0.6893, allocations: 39.95 kB / 443 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.6896, allocations: 43.91 kB / 443.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.6896, allocations: 0 / 443.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.6897, allocations: 12 kB / 443.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.6897, allocations: 4 kB / 443.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6897, allocations: 0 / 443.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.6907, allocations: 0.5833 MB / 443.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.6911, allocations: 184.3 kB / 443.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.6913, allocations: 4 kB / 443.8 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000538/0.6918, allocations: 27.97 kB / 443.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.6919, allocations: 31.91 kB / 443.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.692, allocations: 11.98 kB / 443.9 MB, free: 14.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008053/0.6928, allocations: 441.5 kB / 444.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6928, allocations: 0 / 444.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001157/0.694, allocations: 195.9 kB / 444.5 MB, free: 14.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * 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.002036/0.696, allocations: 1.455 MB / 446 MB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.6974, allocations: 0.6927 MB / 446.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6974, allocations: 0 / 446.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000593/0.698, allocations: 456.3 kB / 447.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009189/0.699, allocations: 118.9 kB / 447.2 MB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.7023, allocations: 0.9216 MB / 448.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.7029, allocations: 0.913 MB / 449.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005465/0.7035, allocations: 124.5 kB / 449.2 MB, free: 9.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.7038, allocations: 143.4 kB / 449.3 MB, free: 9.18 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.7038, allocations: 0 / 449.3 MB, free: 9.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/0.8081, allocations: 15.25 MB / 464.6 MB, free: 10.04 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.8084, allocations: 193.9 kB / 464.8 MB, free: 9.812 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.02/3.829, allocations: 4 kB / 464.8 MB, free: 9.809 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat