Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.659/2.659, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.397e-05, allocations: 4 kB / 299.6 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4163, allocations: 54.86 MB / 354.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1806/0.597, allocations: 91.1 MB / 445.6 MB, free: 7.148 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004048/0.5975, allocations: 103.9 kB / 445.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07857/0.676, allocations: 14.08 MB / 459.8 MB, free: 8.809 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6761, allocations: 0 / 459.8 MB, free: 8.809 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.6761, allocations: 4 kB / 459.8 MB, free: 8.805 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001447/0.6776, allocations: 0.6073 MB / 460.4 MB, free: 8.152 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.6777, allocations: 8.031 kB / 460.4 MB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.6778, allocations: 43.48 kB / 460.4 MB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.6784, allocations: 282.3 kB / 460.7 MB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.6784, allocations: 12 kB / 460.7 MB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.043e-05/0.6785, allocations: 27.94 kB / 460.7 MB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001195/0.6797, allocations: 481.8 kB / 461.2 MB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.6809, allocations: 469.1 kB / 461.7 MB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.681, allocations: 0 / 461.7 MB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.681, allocations: 0 / 461.7 MB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.261e-05/0.6811, allocations: 45.23 kB / 461.7 MB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003226/0.6844, allocations: 1.043 MB / 462.7 MB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.6856, allocations: 415.8 kB / 463.1 MB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.686, allocations: 137.2 kB / 463.3 MB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.075e-05/0.6861, allocations: 16.17 kB / 463.3 MB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.6861, allocations: 30.8 kB / 463.3 MB, free: 5.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.656e-06/0.6861, allocations: 0 / 463.3 MB, free: 5.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001102/0.6873, allocations: 331.2 kB / 463.7 MB, free: 4.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.6873, allocations: 51.41 kB / 463.7 MB, free: 4.688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.6875, allocations: 133.3 kB / 463.8 MB, free: 4.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.6876, allocations: 33.69 kB / 463.9 MB, free: 4.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.6877, allocations: 204 kB / 464.1 MB, free: 4.312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.6879, allocations: 90.66 kB / 464.2 MB, free: 4.223 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.688, allocations: 0 / 464.2 MB, free: 4.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.6881, allocations: 330.8 kB / 464.5 MB, free: 3.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.6885, allocations: 111.9 kB / 464.6 MB, free: 3.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.6888, allocations: 115.8 kB / 464.7 MB, free: 3.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.6893, allocations: 143.8 kB / 464.8 MB, free: 3.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6893, allocations: 0 / 464.8 MB, free: 3.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001017/0.6903, allocations: 329.9 kB / 465.2 MB, free: 3.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.6904, allocations: 4 kB / 465.2 MB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.6904, allocations: 7.938 kB / 465.2 MB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.6904, allocations: 3.984 kB / 465.2 MB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.6922, allocations: 159.8 kB / 465.3 MB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004802/0.6971, allocations: 5.536 MB / 470.9 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.6975, allocations: 23.8 kB / 470.9 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.6976, allocations: 15.98 kB / 470.9 MB, free: 13.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.6978, allocations: 105 kB / 471 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001025/0.6988, allocations: 333.1 kB / 471.3 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.6989, allocations: 19.97 kB / 471.4 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.7004, allocations: 430.9 kB / 471.8 MB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.7004, allocations: 11.98 kB / 471.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7004, allocations: 0 / 471.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.7004, allocations: 0 / 471.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007876/0.7012, allocations: 333.9 kB / 472.1 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.7013, allocations: 3.984 kB / 472.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/0.703, allocations: 155.8 kB / 472.3 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.703, allocations: 7.953 kB / 472.3 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.7031, allocations: 11.98 kB / 472.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/0.7077, allocations: 5.54 MB / 477.8 MB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.7077, allocations: 0 / 477.8 MB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.7089, allocations: 435.5 kB / 478.3 MB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.382e-05/0.709, allocations: 100.8 kB / 478.4 MB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.7091, allocations: 0 / 478.4 MB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.7095, allocations: 11.98 kB / 478.4 MB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.7096, allocations: 23.97 kB / 478.4 MB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.7097, allocations: 12.09 kB / 478.4 MB, free: 5.445 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.7098, allocations: 115.2 kB / 478.5 MB, free: 5.332 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7098, allocations: 0 / 478.5 MB, free: 5.332 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009394/0.7108, allocations: 167.4 kB / 478.7 MB, free: 5.168 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 (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.002074/0.7129, allocations: 1.122 MB / 479.8 MB, free: 4.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.715, allocations: 367.5 kB / 480.2 MB, free: 3.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.715, allocations: 4 kB / 480.2 MB, free: 3.656 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.7166, allocations: 240.7 kB / 480.4 MB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.717, allocations: 21.34 kB / 480.4 MB, free: 3.402 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.7194, allocations: 0.6832 MB / 481.1 MB, free: 2.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/0.7201, allocations: 0.8573 MB / 482 MB, free: 1.793 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003917/0.7205, allocations: 69.77 kB / 482 MB, free: 1.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.7208, allocations: 107.4 kB / 482.1 MB, free: 1.621 MB / 410.7 MB Notification: Performance of SimCode: time 1.472e-06/0.7208, allocations: 0 / 482.1 MB, free: 1.621 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06419/0.785, allocations: 7.345 MB / 489.5 MB, free: 10.28 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003752/0.7855, allocations: 187.1 kB / 489.7 MB, free: 10.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.996/3.781, allocations: 0 / 489.7 MB, free: 10.09 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat