Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.245e-05, allocations: 4 kB / 327.6 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08316/0.08321, allocations: 44.52 MB / 372.1 MB, free: 4.234 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3747/0.458, allocations: 70.9 MB / 443 MB, free: 19.09 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.4582, allocations: 66.17 kB / 443.1 MB, free: 19.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0107/0.4689, allocations: 2.112 MB / 445.2 MB, free: 16.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.271e-06/0.469, allocations: 4 kB / 445.2 MB, free: 16.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.454e-06/0.469, allocations: 0 / 445.2 MB, free: 16.93 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004414/0.4695, allocations: 473.1 kB / 445.7 MB, free: 16.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4695, allocations: 12.03 kB / 445.7 MB, free: 16.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.4696, allocations: 11.91 kB / 445.7 MB, free: 16.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.4697, allocations: 193 kB / 445.9 MB, free: 16.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.4698, allocations: 4 kB / 445.9 MB, free: 16.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.4698, allocations: 4 kB / 445.9 MB, free: 16.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002028/0.4701, allocations: 40.62 kB / 445.9 MB, free: 16.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.4703, allocations: 85.67 kB / 446 MB, free: 16.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4703, allocations: 3.938 kB / 446 MB, free: 16.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.4704, allocations: 4 kB / 446 MB, free: 16.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.817e-06/0.4704, allocations: 0 / 446 MB, free: 16.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.471, allocations: 314.9 kB / 446.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.4712, allocations: 66.56 kB / 446.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.4714, allocations: 51.06 kB / 446.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.4714, allocations: 0 / 446.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.4717, allocations: 154.7 kB / 446.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 3.484e-06/0.4717, allocations: 0 / 446.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005163/0.4723, allocations: 149.6 kB / 446.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.4724, allocations: 170.2 kB / 446.9 MB, free: 15.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.4725, allocations: 129.2 kB / 447 MB, free: 14.87 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.4726, allocations: 25.7 kB / 447.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.4726, allocations: 100 kB / 447.2 MB, free: 14.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.4727, allocations: 23.7 kB / 447.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.4727, allocations: 4 kB / 447.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.638e-05/0.4728, allocations: 318.8 kB / 447.5 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.473, allocations: 35.94 kB / 447.5 MB, free: 14.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.4731, allocations: 31.98 kB / 447.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.4733, allocations: 117.1 kB / 447.7 MB, free: 14.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.34e-06/0.4733, allocations: 0 / 447.7 MB, free: 14.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000512/0.4738, allocations: 145.5 kB / 447.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.4739, allocations: 118.8 kB / 447.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.474, allocations: 11.88 kB / 448 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.474, allocations: 0 / 448 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.447e-05/0.4741, allocations: 0 / 448 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.4741, allocations: 0 / 448 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.4742, allocations: 14.88 kB / 448 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.4743, allocations: 11.95 kB / 448 MB, free: 13.87 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$PRE.table2.y,table2.y,$PRE.table2.nextTime,table2.nextTime,$PRE.table2.index,table2.index,$PRE.table1.y,table1.y,$PRE.table1.nextTime,table1.nextTime,$PRE.table1.index,table1.index,And1.u2,And1.y,$PRE.Pre1.u,Pre1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.4745, allocations: 176.3 kB / 448.2 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.4745, allocations: 11.91 kB / 448.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.4746, allocations: 8.625 kB / 448.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.437e-06/0.4746, allocations: 4 kB / 448.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4746, allocations: 0.5 kB / 448.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.498e-06/0.4746, allocations: 0 / 448.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.4748, allocations: 178.1 kB / 448.4 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.152e-06/0.4749, allocations: 8 kB / 448.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.011e-05/0.4749, allocations: 0 / 448.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.641e-06/0.4749, allocations: 0 / 448.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.4749, allocations: 4.938 kB / 448.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.754e-06/0.475, allocations: 0 / 448.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.069e-06/0.475, allocations: 0 / 448.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008581/0.4758, allocations: 0.7829 MB / 449.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.4759, allocations: 85.16 kB / 449.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.476, allocations: 5.641 kB / 449.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.4762, allocations: 15.98 kB / 449.3 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.4762, allocations: 7.984 kB / 449.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.4763, allocations: 4 kB / 449.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.512e-05/0.4764, allocations: 103.2 kB / 449.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.93e-07/0.4764, allocations: 0 / 449.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000903/0.4773, allocations: 55.92 kB / 449.4 MB, free: 12.3 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$whenCondition2,table2.y,table2.nextTime,table2.index,table1.y,table1.nextTime,table1.index,And1.u2,And1.y,Pre1.u) * Number of discrete states: 9 (Pre1.u,table1.y,table1.nextTime,table1.index,$whenCondition1,table2.y,table2.nextTime,table2.index,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.0003385/0.4777, allocations: 149.3 kB / 449.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.4782, allocations: 313.5 kB / 449.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.965e-06/0.4782, allocations: 4 kB / 449.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.4784, allocations: 186.7 kB / 450.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.4787, allocations: 8 kB / 450.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.4793, allocations: 281.6 kB / 450.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.4795, allocations: 0.7119 MB / 451.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.115e-05/0.4796, allocations: 3.984 kB / 451.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.4796, allocations: 15.44 kB / 451.1 MB, free: 10.51 MB / 318.1 MB Notification: Performance of SimCode: time 1.475e-06/0.4796, allocations: 0 / 451.1 MB, free: 10.51 MB / 318.1 MB Notification: Performance of Templates: time 0.007324/0.487, allocations: 1.393 MB / 452.5 MB, free: 9.145 MB / 318.1 MB