Notification: Performance of loadModel(Buildings): time 2.378/2.378, allocations: 268.2 MB / 275.3 MB, free: 7.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.577e-05/1.554e-05, allocations: 0 / 339.2 MB, free: 7.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2725, allocations: 61.54 MB / 400.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.4375, allocations: 95.71 MB / 496.5 MB, free: 13.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.4378, allocations: 83.94 kB / 496.6 MB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.02517/0.463, allocations: 5.428 MB / 0.4902 GB, free: 8.469 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.4631, allocations: 7.938 kB / 0.4902 GB, free: 8.461 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001106/0.4642, allocations: 0.5393 MB / 0.4908 GB, free: 7.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4642, allocations: 8.031 kB / 0.4908 GB, free: 7.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.431e-05/0.4643, allocations: 27.72 kB / 0.4908 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.4649, allocations: 269.8 kB / 0.4911 GB, free: 7.527 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.4649, allocations: 7.953 kB / 0.4911 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.465, allocations: 12 kB / 0.4911 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000321/0.4653, allocations: 112.2 kB / 0.4912 GB, free: 7.398 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.4657, allocations: 158.5 kB / 0.4913 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4658, allocations: 0 / 0.4913 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.4658, allocations: 7.938 kB / 0.4913 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4658, allocations: 0 / 0.4913 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.4669, allocations: 0.4974 MB / 0.4918 GB, free: 6.695 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.4673, allocations: 138.6 kB / 0.492 GB, free: 6.551 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.4675, allocations: 88.97 kB / 0.492 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.4675, allocations: 96 / 0.492 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.4679, allocations: 168.9 kB / 0.4922 GB, free: 6.277 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.4679, allocations: 0 / 0.4922 GB, free: 6.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007799/0.4687, allocations: 265.3 kB / 0.4925 GB, free: 6.012 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.4687, allocations: 81.22 kB / 0.4925 GB, free: 5.914 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.469, allocations: 220.1 kB / 0.4927 GB, free: 5.695 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.4691, allocations: 29.7 kB / 0.4928 GB, free: 5.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.4692, allocations: 156.1 kB / 0.4929 GB, free: 5.504 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.4693, allocations: 35.56 kB / 0.493 GB, free: 5.469 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.4693, allocations: 0 / 0.493 GB, free: 5.469 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4695, allocations: 334.8 kB / 0.4933 GB, free: 5.133 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.4697, allocations: 79.97 kB / 0.4934 GB, free: 5.055 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.4699, allocations: 94.94 kB / 0.4934 GB, free: 4.957 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.4701, allocations: 79.23 kB / 0.4935 GB, free: 4.883 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4702, allocations: 96 / 0.4935 GB, free: 4.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006769/0.4709, allocations: 293.1 kB / 0.4938 GB, free: 4.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.4709, allocations: 37.7 kB / 0.4938 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4709, allocations: 7.891 kB / 0.4938 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.471, allocations: 7.984 kB / 0.4938 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.4712, allocations: 23.98 kB / 0.4939 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4712, allocations: 4.031 kB / 0.4939 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.4715, allocations: 27.97 kB / 0.4939 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.4715, allocations: 8 kB / 0.4939 GB, free: 4.469 MB / 426.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: 10 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001442/0.4717, allocations: 139.8 kB / 0.494 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006977/0.4724, allocations: 285.2 kB / 0.4943 GB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.4724, allocations: 19.77 kB / 0.4943 GB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.4725, allocations: 33.95 kB / 0.4944 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4725, allocations: 0 / 0.4944 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4726, allocations: 0 / 0.4944 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4726, allocations: 0 / 0.4944 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.4729, allocations: 250 kB / 0.4946 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4729, allocations: 0 / 0.4946 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.4732, allocations: 19.98 kB / 0.4946 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4732, allocations: 4 kB / 0.4946 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.4732, allocations: 11.94 kB / 0.4946 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4732, allocations: 0 / 0.4946 GB, free: 3.668 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4732, allocations: 3.938 kB / 0.4946 GB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.4743, allocations: 436.3 kB / 0.4951 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.474e-05/0.4744, allocations: 96.8 kB / 0.4951 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.4744, allocations: 4 kB / 0.4952 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.4747, allocations: 28 kB / 0.4952 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.4748, allocations: 23.95 kB / 0.4952 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.4749, allocations: 8 kB / 0.4952 GB, free: 3.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002194/0.4751, allocations: 176.5 kB / 0.4954 GB, free: 2.875 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4751, allocations: 0 / 0.4954 GB, free: 2.875 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003885/0.4755, allocations: 47.94 kB / 0.4954 GB, free: 2.828 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 7 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent) * Number of discrete states: 7 (ySet.last,ySet.nextEvent,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.001169/0.4767, allocations: 0.909 MB / 0.4963 GB, free: 1.887 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004249/0.4771, allocations: 227.3 kB / 0.4965 GB, free: 1.652 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4771, allocations: 0 / 0.4965 GB, free: 1.652 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.4774, allocations: 143.3 kB / 0.4967 GB, free: 1.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.4777, allocations: 31.2 kB / 0.4967 GB, free: 1.469 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.4791, allocations: 392.7 kB / 0.4971 GB, free: 1.051 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.4796, allocations: 0.7547 MB / 0.4978 GB, free: 276 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.4797, allocations: 8.891 kB / 0.4978 GB, free: 260 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.4798, allocations: 55.41 kB / 0.4979 GB, free: 208 kB / 426.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4798, allocations: 4 kB / 0.4979 GB, free: 204 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05541/0.5353, allocations: 3.711 MB / 0.5015 GB, free: 12.51 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004023/0.5393, allocations: 140.3 kB / 0.5016 GB, free: 12.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.678/3.217, allocations: 4.031 kB / 0.5016 GB, free: 12.32 MB / 442.7 MB