Notification: Performance of FrontEnd - loaded program: time 1.481e-05/1.488e-05, allocations: 2.688 kB / 439.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1405, allocations: 78.97 MB / 0.5065 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.2872, allocations: 113.5 MB / 0.6174 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.2876, allocations: 100.6 kB / 0.6174 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.1056/0.3932, allocations: 12.31 MB / 0.6295 GB, free: 110.9 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.674e-05/0.3933, allocations: 8.125 kB / 0.6295 GB, free: 110.9 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009212/0.3943, allocations: 0.6916 MB / 0.6302 GB, free: 110.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3944, allocations: 10.47 kB / 0.6302 GB, free: 110.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.91e-05/0.3945, allocations: 60.44 kB / 0.6302 GB, free: 110.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.3951, allocations: 343.6 kB / 0.6306 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3952, allocations: 9.281 kB / 0.6306 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.3953, allocations: 5.594 kB / 0.6306 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001773/0.3955, allocations: 44.28 kB / 0.6306 GB, free: 110 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.3957, allocations: 83.56 kB / 0.6307 GB, free: 110 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3958, allocations: 3.938 kB / 0.6307 GB, free: 110 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.3959, allocations: 1.625 kB / 0.6307 GB, free: 110 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.396, allocations: 1.969 kB / 0.6307 GB, free: 110 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009209/0.3969, allocations: 0.545 MB / 0.6312 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.3971, allocations: 69.8 kB / 0.6313 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.3972, allocations: 6.016 kB / 0.6313 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.3973, allocations: 9.203 kB / 0.6313 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.3975, allocations: 107.9 kB / 0.6314 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 4.051e-06/0.3976, allocations: 0 / 0.6314 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0004038/0.398, allocations: 157.8 kB / 0.6316 GB, free: 109.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003556/0.3984, allocations: 137.5 kB / 0.6317 GB, free: 109.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.3985, allocations: 28.89 kB / 0.6317 GB, free: 109.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.399, allocations: 466 kB / 0.6322 GB, free: 109 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3991, allocations: 25.7 kB / 0.6322 GB, free: 109 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3993, allocations: 160.8 kB / 0.6323 GB, free: 108.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.3993, allocations: 21.31 kB / 0.6324 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.3994, allocations: 4 kB / 0.6324 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3996, allocations: 375.4 kB / 0.6327 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.3997, allocations: 27.05 kB / 0.6328 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.3998, allocations: 23.12 kB / 0.6328 GB, free: 108.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.4001, allocations: 29.84 kB / 0.6328 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.4001, allocations: 1.375 kB / 0.6328 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003431/0.4005, allocations: 159.6 kB / 0.633 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4006, allocations: 0 / 0.633 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4007, allocations: 5.062 kB / 0.633 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.146e-06/0.4007, allocations: 5.094 kB / 0.633 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.4009, allocations: 9.078 kB / 0.633 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.4011, allocations: 6.312 kB / 0.633 GB, free: 108.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001783/0.4013, allocations: 142.3 kB / 0.6331 GB, free: 108.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.4015, allocations: 55.75 kB / 0.6332 GB, free: 108.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.4019, allocations: 131.7 kB / 0.6333 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.588e-06/0.4019, allocations: 3.906 kB / 0.6333 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.378e-06/0.402, allocations: 0 / 0.6333 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.425e-06/0.4021, allocations: 10.11 kB / 0.6333 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.4025, allocations: 348.5 kB / 0.6336 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.492e-06/0.4026, allocations: 1.156 kB / 0.6336 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.4027, allocations: 12.88 kB / 0.6337 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.238e-06/0.4028, allocations: 0.9375 kB / 0.6337 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.4028, allocations: 3.625 kB / 0.6337 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-06/0.4029, allocations: 320 / 0.6337 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.143e-06/0.403, allocations: 1.312 kB / 0.6337 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003616/0.4034, allocations: 196.1 kB / 0.6338 GB, free: 107.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.4036, allocations: 149.6 kB / 0.634 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.695e-05/0.4038, allocations: 6.938 kB / 0.634 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.404, allocations: 5.125 kB / 0.634 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.4041, allocations: 11.58 kB / 0.634 GB, free: 107.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0008257/0.405, allocations: 364.6 kB / 0.6344 GB, free: 107.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.4053, allocations: 111.9 kB / 0.6345 GB, free: 107.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4054, allocations: 0 / 0.6345 GB, free: 107.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.4056, allocations: 105.3 kB / 0.6346 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.4061, allocations: 83.56 kB / 0.6346 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.4078, allocations: 0.7731 MB / 0.6354 GB, free: 106.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006462/0.4085, allocations: 0.9867 MB / 0.6364 GB, free: 105.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.816e-06/0.4086, allocations: 3.938 kB / 0.6364 GB, free: 105.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.07563/0.4842, allocations: 5.337 MB / 0.6416 GB, free: 102.4 MB / 0.5137 GB