Running command: "" <> buildModelFMU(HanserModelica.Thermal.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.12/2.12, allocations: 214.7 MB / 226.9 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.182e-05/5.196e-05, allocations: 4 kB / 279.6 MB, free: 13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1288, allocations: 49.71 MB / 329.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5753, allocations: 79.52 MB / 408.8 MB, free: 3.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.5756, allocations: 64.41 kB / 408.8 MB, free: 3.914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01447/0.59, allocations: 3.332 MB / 412.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5901, allocations: 0 / 412.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.5901, allocations: 4 kB / 412.2 MB, free: 1.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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008912/0.591, allocations: 466.3 kB / 412.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.5911, allocations: 12.03 kB / 412.7 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.986e-05/0.5912, allocations: 54.36 kB / 412.7 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.5913, allocations: 23.72 kB / 412.7 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.5916, allocations: 223.8 kB / 412.9 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.5917, allocations: 8.109 kB / 413 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.5917, allocations: 19.06 kB / 413 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.5922, allocations: 189.5 kB / 413.2 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.5922, allocations: 3.938 kB / 413.2 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.5923, allocations: 7.625 kB / 413.2 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.5923, allocations: 14.41 kB / 413.2 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.5927, allocations: 100.2 kB / 413.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.5943, allocations: 0.7482 MB / 414 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.5948, allocations: 128.6 kB / 414.2 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.595, allocations: 52.55 kB / 414.2 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.595, allocations: 0 / 414.2 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.5952, allocations: 89.2 kB / 414.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/0.5953, allocations: 0 / 414.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005435/0.5958, allocations: 154.4 kB / 414.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.5959, allocations: 59.41 kB / 414.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.5961, allocations: 163 kB / 414.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.5962, allocations: 29.39 kB / 414.7 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.5963, allocations: 142.7 kB / 414.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/0.5964, allocations: 46.48 kB / 414.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.5964, allocations: 3.312 kB / 414.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5966, allocations: 322.6 kB / 415.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.5967, allocations: 34.38 kB / 415.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.5968, allocations: 68.25 kB / 415.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.597, allocations: 43.06 kB / 415.3 MB, free: 14.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.597, allocations: 4 kB / 415.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005002/0.5975, allocations: 170.3 kB / 415.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.5975, allocations: 7.938 kB / 415.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5975, allocations: 0 / 415.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/0.5978, allocations: 31.84 kB / 415.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.598, allocations: 27.92 kB / 415.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.5996, allocations: 1.353 MB / 416.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.5999, allocations: 27.23 kB / 417 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.5999, allocations: 4 kB / 417 MB, free: 12.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.6001, allocations: 117 kB / 417.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.6001, allocations: 15.81 kB / 417.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.6002, allocations: 19.84 kB / 417.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6002, allocations: 0 / 417.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6002, allocations: 144 / 417.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.6002, allocations: 11.92 kB / 417.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.6006, allocations: 262.6 kB / 417.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6007, allocations: 0 / 417.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.6009, allocations: 19.98 kB / 417.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.6011, allocations: 35.84 kB / 417.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.6011, allocations: 7.359 kB / 417.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.6026, allocations: 1.351 MB / 418.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6027, allocations: 3.984 kB / 418.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.6033, allocations: 230.8 kB / 419 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.6035, allocations: 100.1 kB / 419.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.6035, allocations: 11.2 kB / 419.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.6037, allocations: 16.11 kB / 419.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.6038, allocations: 11.92 kB / 419.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.6039, allocations: 4 kB / 419.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001755/0.604, allocations: 143.1 kB / 419.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6041, allocations: 0 / 419.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004235/0.6045, allocations: 51.34 kB / 419.3 MB, free: 10.02 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: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.6055, allocations: 0.7617 MB / 420.1 MB, free: 9.281 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005206/0.6061, allocations: 213.9 kB / 420.3 MB, free: 9.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6061, allocations: 4 kB / 420.3 MB, free: 9.086 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.6064, allocations: 174.6 kB / 420.5 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.6068, allocations: 34.48 kB / 420.5 MB, free: 8.895 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.6079, allocations: 337 kB / 420.9 MB, free: 8.562 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.6083, allocations: 0.744 MB / 421.6 MB, free: 7.793 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.6084, allocations: 17.55 kB / 421.6 MB, free: 7.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.6085, allocations: 47.98 kB / 421.7 MB, free: 7.762 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6085, allocations: 4 kB / 421.7 MB, free: 7.758 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04267/0.6512, allocations: 3.737 MB / 425.4 MB, free: 4.098 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003722/0.6516, allocations: 147.3 kB / 425.5 MB, free: 3.879 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.136, allocations: 0 / 425.5 MB, free: 3.879 MB / 346.7 MB