Running command: "" <> buildModelFMU(HanserModelica.Thermal.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.249/2.249, allocations: 214.7 MB / 226.9 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.361e-05/4.368e-05, allocations: 7.984 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 49.7 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4423/0.5491, allocations: 77.87 MB / 407.1 MB, free: 5.562 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.5494, allocations: 64.53 kB / 407.2 MB, free: 5.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02188/0.5713, allocations: 5.373 MB / 412.6 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5714, allocations: 4 kB / 412.6 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.5714, allocations: 8 kB / 412.6 MB, free: 0.9844 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001286/0.5727, allocations: 0.5475 MB / 413.1 MB, free: 420 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.5728, allocations: 16.03 kB / 413.2 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.5729, allocations: 69.41 kB / 413.2 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.573, allocations: 31.62 kB / 413.3 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.5738, allocations: 319.3 kB / 413.6 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.5738, allocations: 22.84 kB / 413.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-05/0.5739, allocations: 30.06 kB / 413.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009437/0.5749, allocations: 351 kB / 414 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.5749, allocations: 0 / 414 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.575, allocations: 15.5 kB / 414 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.5751, allocations: 20.77 kB / 414 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.5761, allocations: 317.8 kB / 414.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.5791, allocations: 1.424 MB / 415.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.5803, allocations: 370.9 kB / 416.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.5808, allocations: 181.3 kB / 416.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.5808, allocations: 4 kB / 416.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.5809, allocations: 38.02 kB / 416.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 5e-06/0.5809, allocations: 0 / 416.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.00123/0.5821, allocations: 397.4 kB / 416.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5822, allocations: 51.41 kB / 416.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.5826, allocations: 198.8 kB / 416.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.5826, allocations: 29.2 kB / 417 MB, free: 13.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.5828, allocations: 169.5 kB / 417.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.5829, allocations: 81.53 kB / 417.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.5829, allocations: 7.438 kB / 417.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5831, allocations: 330 kB / 417.5 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.5834, allocations: 113.7 kB / 417.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.5838, allocations: 108.6 kB / 417.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.5843, allocations: 140 kB / 417.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.5843, allocations: 0 / 417.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001175/0.5855, allocations: 430.7 kB / 418.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.5855, allocations: 9.875 kB / 418.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5856, allocations: 4 kB / 418.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.5862, allocations: 128.4 kB / 418.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.5865, allocations: 43.92 kB / 418.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005656/0.5922, allocations: 4.685 MB / 423.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.5927, allocations: 31.66 kB / 423.2 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.5927, allocations: 15.58 kB / 423.2 MB, free: 7.258 MB / 346.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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.5929, allocations: 112.7 kB / 423.3 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.5929, allocations: 23.72 kB / 423.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.767e-05/0.593, allocations: 35.89 kB / 423.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.5931, allocations: 0 / 423.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.5931, allocations: 4 kB / 423.4 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5931, allocations: 0 / 423.4 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007663/0.5939, allocations: 431.6 kB / 423.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5939, allocations: 0 / 423.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/0.5943, allocations: 39.97 kB / 423.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005322/0.5948, allocations: 130.2 kB / 424 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.5949, allocations: 7.688 kB / 424 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005396/0.6003, allocations: 4.691 MB / 428.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6004, allocations: 0 / 428.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.6019, allocations: 0.6474 MB / 429.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.6021, allocations: 108.6 kB / 429.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.6022, allocations: 15.84 kB / 429.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.6025, allocations: 15.8 kB / 429.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.6026, allocations: 19.91 kB / 429.5 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.6026, allocations: 8 kB / 429.5 MB, free: 1.219 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002488/0.6029, allocations: 162.7 kB / 429.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6029, allocations: 0 / 429.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009047/0.6038, allocations: 111.3 kB / 429.8 MB, free: 0.9844 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002/0.6058, allocations: 1.183 MB / 431 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.6072, allocations: 0.6175 MB / 431.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.6072, allocations: 0 / 431.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008751/0.6081, allocations: 0.4941 MB / 432.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.6086, allocations: 51.38 kB / 432.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.611, allocations: 0.8125 MB / 432.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.6116, allocations: 0.8559 MB / 433.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002666/0.6119, allocations: 54.02 kB / 433.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.6121, allocations: 82.84 kB / 433.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6121, allocations: 0 / 433.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08593/0.6981, allocations: 6.482 MB / 440.4 MB, free: 6.828 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000368/0.6985, allocations: 166.8 kB / 440.6 MB, free: 6.594 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/3.311, allocations: 0 / 440.6 MB, free: 6.594 MB / 362.7 MB