Notification: Performance of FrontEnd - loaded program: time 1.418e-05/1.418e-05, allocations: 1.281 kB / 439.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1519, allocations: 78.97 MB / 0.5065 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.3384, allocations: 110.2 MB / 0.6141 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.3388, allocations: 85.06 kB / 0.6141 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.1152/0.4541, allocations: 5.278 MB / 0.6193 GB, free: 110.6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.975e-05/0.4543, allocations: 7.188 kB / 0.6193 GB, free: 110.6 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001487/0.4558, allocations: 0.5468 MB / 0.6198 GB, free: 110.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.456, allocations: 7.062 kB / 0.6198 GB, free: 110.2 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.4562, allocations: 27.09 kB / 0.6199 GB, free: 110.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008993/0.4572, allocations: 282.8 kB / 0.6201 GB, free: 109.9 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.4574, allocations: 1.438 kB / 0.6201 GB, free: 109.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.628e-05/0.4575, allocations: 11.62 kB / 0.6201 GB, free: 109.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002886/0.4579, allocations: 71.58 kB / 0.6202 GB, free: 109.9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.4584, allocations: 141.4 kB / 0.6204 GB, free: 109.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.4586, allocations: 3.844 kB / 0.6204 GB, free: 109.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.4587, allocations: 0 / 0.6204 GB, free: 109.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.4588, allocations: 5.75 kB / 0.6204 GB, free: 109.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.4608, allocations: 0.5482 MB / 0.6209 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.4612, allocations: 91.36 kB / 0.621 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.4613, allocations: 12.3 kB / 0.621 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.4615, allocations: 5.594 kB / 0.621 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.4618, allocations: 131.8 kB / 0.6211 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 5.518e-06/0.4619, allocations: 3.844 kB / 0.6211 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006585/0.4627, allocations: 144.5 kB / 0.6213 GB, free: 109.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002361/0.463, allocations: 56.88 kB / 0.6213 GB, free: 109.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.4632, allocations: 35.64 kB / 0.6214 GB, free: 109.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.4635, allocations: 299 kB / 0.6216 GB, free: 109.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.4636, allocations: 29.36 kB / 0.6217 GB, free: 109.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.4638, allocations: 117 kB / 0.6218 GB, free: 109 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.464, allocations: 32.91 kB / 0.6218 GB, free: 109 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.4641, allocations: 2.875 kB / 0.6218 GB, free: 109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4643, allocations: 333.5 kB / 0.6221 GB, free: 108.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.4645, allocations: 39.91 kB / 0.6222 GB, free: 108.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.4648, allocations: 62.3 kB / 0.6222 GB, free: 108.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.4652, allocations: 47.66 kB / 0.6223 GB, free: 108.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.517e-06/0.4653, allocations: 0 / 0.6223 GB, free: 108.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006571/0.466, allocations: 169.5 kB / 0.6224 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4661, allocations: 0 / 0.6224 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.4663, allocations: 0 / 0.6224 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.4664, allocations: 7.359 kB / 0.6224 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.4668, allocations: 33.58 kB / 0.6225 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.4674, allocations: 36.08 kB / 0.6225 GB, free: 108.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($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,ySet.nextEventScaled) * 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.0003507/0.4678, allocations: 153.2 kB / 0.6227 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.827e-05/0.468, allocations: 25.11 kB / 0.6227 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.4682, allocations: 9.125 kB / 0.6227 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4683, allocations: 3.562 kB / 0.6227 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4684, allocations: 0 / 0.6227 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.381e-06/0.4685, allocations: 3.188 kB / 0.6227 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.469, allocations: 275 kB / 0.623 GB, free: 108.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.032e-06/0.4692, allocations: 0.625 kB / 0.623 GB, free: 108.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.4696, allocations: 22.81 kB / 0.623 GB, free: 108.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.4697, allocations: 7.156 kB / 0.623 GB, free: 108.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.4698, allocations: 7.062 kB / 0.623 GB, free: 108.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.657e-06/0.4699, allocations: 0 / 0.623 GB, free: 108.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.727e-06/0.47, allocations: 2.906 kB / 0.623 GB, free: 108.3 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009862/0.4711, allocations: 272.9 kB / 0.6233 GB, free: 108.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.597e-05/0.4713, allocations: 98.55 kB / 0.6234 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.4715, allocations: 5.594 kB / 0.6234 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.4721, allocations: 37.92 kB / 0.6234 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.4723, allocations: 29.2 kB / 0.6234 GB, free: 108.1 MB / 0.5137 GB 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: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,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.0005341/0.473, allocations: 144.8 kB / 0.6236 GB, free: 108 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006969/0.4738, allocations: 177.2 kB / 0.6237 GB, free: 108 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.517e-06/0.4739, allocations: 0 / 0.6237 GB, free: 108 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004561/0.4744, allocations: 152.7 kB / 0.6239 GB, free: 107.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.4749, allocations: 21.38 kB / 0.6239 GB, free: 107.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.4769, allocations: 308.4 kB / 0.6242 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.4775, allocations: 0.7767 MB / 0.6249 GB, free: 107.1 MB / 0.5137 GB Notification: Performance of SimCode: time 3.003e-06/0.4776, allocations: 1.469 kB / 0.6249 GB, free: 107.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.05638/0.534, allocations: 2.498 MB / 0.6274 GB, free: 106.9 MB / 0.5137 GB