Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.789e-05, allocations: 4 kB / 267.7 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 48.7 MB / 316.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4296/0.5343, allocations: 81.7 MB / 398 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/0.5347, allocations: 90.5 kB / 398.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0521/0.5868, allocations: 10.61 MB / 408.7 MB, free: 2.008 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.5869, allocations: 0 / 408.7 MB, free: 2.008 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.319e-05/0.587, allocations: 4 kB / 408.7 MB, free: 2.004 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001898/0.5889, allocations: 0.6167 MB / 409.4 MB, free: 1.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.589, allocations: 8.031 kB / 409.4 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.5892, allocations: 47.44 kB / 409.4 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.5898, allocations: 288.2 kB / 409.7 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.5899, allocations: 12 kB / 409.7 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/0.59, allocations: 24 kB / 409.7 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000934/0.5909, allocations: 329.1 kB / 410.1 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.5921, allocations: 0.489 MB / 410.5 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.5922, allocations: 0 / 410.5 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.5923, allocations: 0 / 410.5 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.751e-05/0.5924, allocations: 24.77 kB / 410.6 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/0.5956, allocations: 1.236 MB / 411.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.5962, allocations: 239.8 kB / 412 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.5966, allocations: 108.2 kB / 412.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-05/0.5966, allocations: 4 kB / 412.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.5967, allocations: 46.36 kB / 412.2 MB, free: 14.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 4.208e-06/0.5967, allocations: 3.938 kB / 412.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009059/0.5976, allocations: 254.3 kB / 412.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.5977, allocations: 105.9 kB / 412.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.598, allocations: 187.5 kB / 412.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.5981, allocations: 25.7 kB / 412.8 MB, free: 14.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.5983, allocations: 226.2 kB / 413 MB, free: 13.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.932e-05/0.5984, allocations: 54.02 kB / 413 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.5985, allocations: 0 / 413 MB, free: 13.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5986, allocations: 334.1 kB / 413.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.5989, allocations: 98.91 kB / 413.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.5993, allocations: 135.1 kB / 413.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.5996, allocations: 117.2 kB / 413.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.5997, allocations: 4 kB / 413.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009012/0.6006, allocations: 281.4 kB / 414 MB, free: 13.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.6006, allocations: 4 kB / 414 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/0.6008, allocations: 35.28 kB / 414 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.6008, allocations: 0 / 414 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.6012, allocations: 48.05 kB / 414.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.6013, allocations: 4 kB / 414.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.6017, allocations: 27.83 kB / 414.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.6017, allocations: 15.98 kB / 414.1 MB, free: 12.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001558/0.6019, allocations: 112.3 kB / 414.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008991/0.6028, allocations: 259.4 kB / 414.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.603, allocations: 19.75 kB / 414.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.6041, allocations: 333.8 kB / 414.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.6041, allocations: 4 kB / 414.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.6041, allocations: 0 / 414.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.6041, allocations: 7.953 kB / 414.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008488/0.605, allocations: 323.9 kB / 415.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001015/0.6051, allocations: 27.97 kB / 415.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.6055, allocations: 39.41 kB / 415.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.6055, allocations: 0 / 415.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/0.6056, allocations: 11.98 kB / 415.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.6056, allocations: 0 / 415.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.6056, allocations: 0 / 415.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009836/0.6066, allocations: 0.5147 MB / 415.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.6069, allocations: 139.1 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.607, allocations: 4 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.6074, allocations: 19.98 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.6076, allocations: 27.11 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.6076, allocations: 8 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002147/0.6078, allocations: 151 kB / 416.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6079, allocations: 0 / 416.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009405/0.6088, allocations: 146 kB / 416.2 MB, free: 10.82 MB / 346.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001948/0.6108, allocations: 1.296 MB / 417.5 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009608/0.6118, allocations: 461.8 kB / 418 MB, free: 9.039 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.6118, allocations: 4.062 kB / 418 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.6124, allocations: 353 kB / 418.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.613, allocations: 27.73 kB / 418.3 MB, free: 8.629 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.6157, allocations: 0.6681 MB / 419 MB, free: 7.945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.6164, allocations: 0.8557 MB / 419.9 MB, free: 7.074 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.6167, allocations: 29.19 kB / 419.9 MB, free: 7.047 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.6169, allocations: 101.4 kB / 420 MB, free: 7.023 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6169, allocations: 0 / 420 MB, free: 7.023 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04852/0.6654, allocations: 6.299 MB / 426.3 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/0.6658, allocations: 178.9 kB / 426.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.351, allocations: 3.938 kB / 426.5 MB, free: 0.5352 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat