Running command: "" <> buildModelFMU(HanserModelica.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.202/2.202, allocations: 214.7 MB / 226.9 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.845e-05/3.861e-05, allocations: 4 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 49.7 MB / 329.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4472/0.5589, allocations: 77.16 MB / 406.4 MB, free: 6.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.5592, allocations: 60.34 kB / 406.5 MB, free: 6.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006406/0.5656, allocations: 1.701 MB / 408.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5657, allocations: 0 / 408.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.5657, allocations: 4 kB / 408.2 MB, free: 5.055 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005126/0.5662, allocations: 376.4 kB / 408.6 MB, free: 4.648 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5663, allocations: 8.031 kB / 408.6 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.165e-05/0.5664, allocations: 45.3 kB / 408.6 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.5664, allocations: 11.91 kB / 408.6 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.5666, allocations: 174.9 kB / 408.8 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.5666, allocations: 7.016 kB / 408.8 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.5667, allocations: 11.06 kB / 408.8 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.5669, allocations: 92.8 kB / 408.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.567, allocations: 0 / 408.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.567, allocations: 0 / 408.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.567, allocations: 4 kB / 408.9 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.5672, allocations: 61.25 kB / 409 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.5682, allocations: 0.492 MB / 409.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.5686, allocations: 82.19 kB / 409.5 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.5687, allocations: 46.08 kB / 409.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.5687, allocations: 0 / 409.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.5688, allocations: 34.52 kB / 409.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.5688, allocations: 2.297 kB / 409.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004404/0.5692, allocations: 103.1 kB / 409.7 MB, free: 3.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.5693, allocations: 55.41 kB / 409.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.5694, allocations: 104.4 kB / 409.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.5695, allocations: 25.7 kB / 409.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.5696, allocations: 104.2 kB / 410 MB, free: 3.188 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.5696, allocations: 38.81 kB / 410 MB, free: 3.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.5696, allocations: 384 / 410 MB, free: 3.156 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5698, allocations: 318.8 kB / 410.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.453e-05/0.5699, allocations: 15.88 kB / 410.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-05/0.57, allocations: 36.45 kB / 410.4 MB, free: 2.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.146e-05/0.57, allocations: 22.12 kB / 410.4 MB, free: 2.781 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5701, allocations: 3.938 kB / 410.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003274/0.5704, allocations: 107.7 kB / 410.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5704, allocations: 4 kB / 410.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5704, allocations: 8.031 kB / 410.5 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.5707, allocations: 23.47 kB / 410.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.5708, allocations: 15.98 kB / 410.6 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.5723, allocations: 1.319 MB / 411.9 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.5725, allocations: 11.47 kB / 411.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.5725, allocations: 7.938 kB / 411.9 MB, free: 1.219 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.5726, allocations: 108.6 kB / 412 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.5726, allocations: 7.906 kB / 412 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.5727, allocations: 16.19 kB / 412 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.5727, allocations: 4 kB / 412 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5727, allocations: 0 / 412 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.5727, allocations: 3.984 kB / 412.1 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.573, allocations: 199.4 kB / 412.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5731, allocations: 0 / 412.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.5732, allocations: 15.98 kB / 412.3 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/0.5734, allocations: 28.59 kB / 412.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.5734, allocations: 0 / 412.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.5748, allocations: 1.317 MB / 413.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5748, allocations: 0 / 413.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/0.5753, allocations: 231.6 kB / 413.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.5754, allocations: 88.89 kB / 413.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.5754, allocations: 3.938 kB / 413.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.5756, allocations: 4 kB / 413.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.5756, allocations: 3.984 kB / 413.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.5756, allocations: 4 kB / 413.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.84e-05/0.5757, allocations: 94.17 kB / 414 MB, free: 15 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5757, allocations: 4.062 kB / 414 MB, free: 14.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003936/0.5761, allocations: 31.94 kB / 414.1 MB, free: 14.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007791/0.5769, allocations: 0.7459 MB / 414.8 MB, free: 14.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.5773, allocations: 163.6 kB / 415 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5773, allocations: 0 / 415 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.5775, allocations: 136.7 kB / 415.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.5779, allocations: 15.52 kB / 415.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008042/0.5787, allocations: 246.4 kB / 415.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.5791, allocations: 0.7004 MB / 416.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.5791, allocations: 0.6719 kB / 416.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.5792, allocations: 25.67 kB / 416.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of SimCode: time 4.809e-06/0.5792, allocations: 4 kB / 416.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.6076, allocations: 2.074 MB / 418.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.6079, allocations: 153 kB / 418.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.082, allocations: 0 / 418.3 MB, free: 10.69 MB / 346.7 MB